Techatrix
f060d09f7e
correctly handle var decl without equal sign
2022-10-08 22:04:34 +02:00
Jonas Enlund
3833566790
Add missing .switch_case_inline, .switch_case_inline_one cases ( #699 )
...
* Add missing .switch_case_inline, .switch_case_inline_one cases
* Include inline semantic token
Co-authored-by: Auguste Rame <19855629+SuperAuguste@users.noreply.github.com>
2022-10-07 20:00:23 -04:00
Techatrix
b9a291b944
remove requests.Configuration ( #696 )
2022-09-30 20:47:40 -04:00
Techatrix
a9a1fad13e
remove types.TextDocument ( #693 )
...
* remove types.TextDocument
* resolve compile errors because of previous merge
2022-09-30 20:45:45 -04:00
skylla
a8fa5c68a7
Adds a 'format to camelCase' codeaction for function names ( #679 )
...
* adds reformatting to camelCase for function names
* removes useless +1 byte when allocating a string
* added some forgotten functionality
* fixes an issue caused by auto-fmt & changes action kind
* fixes several issues related to camelCase action
* fixes a bug if a fn name is all underscores
* sets camelCase action to quickfix
* sets camelCase action to sourceFixAll
* fixes a mischanged line
2022-09-30 00:05:25 -04:00
Techatrix
51356517a9
Self hosted fixes ( #682 )
...
* fix compiler errors when using self-hosted
* move parameters into builder struct
* simplify code when using self hosted
* fix stage2 error `cast discards const qualifier`
* correctly return after finding method
* fix position context tests on self hosted
* remove unnecessary comptime in position context tests
2022-09-30 00:04:55 -04:00
Techatrix
d030dd0993
improve conformance to the lsp ( #687 )
2022-09-30 00:04:27 -04:00
Lee Cannon
3c4535a321
support 0.9.1 ( #691 )
2022-09-29 15:48:37 -04:00
Vesim
32ce19f9a8
inlay_hints: implement ability to remove redundant hints ( #690 )
2022-09-29 14:36:29 -04:00
Lee Cannon
9f2ea75777
handle OptionsStep
in build_runner ( #686 )
...
* handle `OptionsStep` in build_runner
* only reify `OptionsStep`s that have no dependencies
2022-09-29 14:33:30 -04:00
Techatrix
cf73771739
simplify Server.zig ( #681 )
...
* simplify Server.zig
* remove wrong default value in Server.zig
2022-09-29 14:01:38 -04:00
Matt Knight
6ec6d4ea36
Revamp bulid.zig discovery ( #688 )
...
* walk down tree instead of up for build.zig discovery
* account for windows URIs in tests
2022-09-28 23:12:34 -04:00
Techatrix
e3803d760f
show a warning when using an old zig version ( #677 )
...
* show a warning when using an old zig version
* use builtin zig version
2022-09-28 19:30:26 -04:00
Techatrix
8cf93fc96a
Code action improvements ( #678 )
...
* correctly remove parameter through code action
* add code action for pointless discard of undeclared identifier
2022-09-28 12:14:16 -04:00
Techatrix
8eeae02865
unmanage diff.zig ( #680 )
2022-09-28 12:13:55 -04:00
Auguste Rame
a70beba6d2
Merge pull request #683 from jcmoyer/build-options
...
Allow user defined options to be passed to build_runner
2022-09-28 12:11:49 -04:00
Techatrix
f3889cfe8d
explicit request didSave notification from client ( #676 )
2022-09-28 12:07:24 -04:00
J.C. Moyer
295669297a
Remove unnecessary indirection
2022-09-28 10:10:27 -04:00
J.C. Moyer
cbc6feeb76
Allocate build_runner args directly
2022-09-28 08:33:48 -04:00
J.C. Moyer
399fa7fd09
Move build options out of parse result instead of copying
2022-09-28 08:32:19 -04:00
J.C. Moyer
0b0e6a7cb9
Support for user-configurable build options
2022-09-28 04:14:49 -04:00
Lee Cannon
ecf4e112a5
Merge pull request #675 from leecannon/pkgconfig
...
support pkgconfig
2022-09-27 20:12:33 +01:00
Lee Cannon
58d8c1434d
cleanup processPkgConfig
2022-09-27 20:00:14 +01:00
Lee Cannon
137edcd527
use StringArrayHashMap
to remove duplicate include paths
2022-09-26 22:01:00 +01:00
Lee Cannon
a3af1c76a3
support pkgconfig
2022-09-26 21:38:10 +01:00
Techatrix
8edaa7f506
Merge branch 'master' into dev
2022-09-26 18:41:07 +02:00
Techatrix
0d848a71ec
Merge pull request #674 from Techatrix/snippets
...
Add keyword Snippets for autocomplete
2022-09-25 17:27:46 +00:00
Techatrix
5fa7656314
update snippets
2022-09-25 03:09:54 +02:00
Techatrix
00be49c595
add keyword snippets for autocomplete
2022-09-25 02:45:02 +02:00
Techatrix
8cf5c82261
implement autofix
2022-09-25 01:05:12 +02:00
Techatrix
1b64db8a4c
implement textDocument/codeAction
2022-09-25 01:04:29 +02:00
Techatrix
ca58cbb3f3
make types.Diagnostic correctly parseable
2022-09-25 01:01:31 +02:00
Techatrix
548ced259f
refactor ast-check into separate function with small changes
2022-09-24 21:54:31 +02:00
Techatrix
cfb7c16de0
add enable_autofix
option
2022-09-24 21:30:36 +02:00
Techatrix
40c28d7a64
add code action types
2022-09-24 21:29:24 +02:00
Techatrix
a8dcb89a81
refactor getting the first & last parameter token into a function
2022-09-24 21:26:55 +02:00
Techatrix
6ff19e8b5f
analysis: store function node in parameter declaration
2022-09-24 21:25:32 +02:00
Techatrix
869d27c75d
simplify completionHandler, gotoHandler, hoverHandler and their callees
2022-09-22 20:09:16 +02:00
Techatrix
87bfa683bd
use an ArrayList in uri.pathRelative
2022-09-22 20:06:31 +02:00
Techatrix
8a77007872
don't use inline for iterating builtin data
2022-09-22 05:39:04 +02:00
Techatrix
e9e9571fe5
avoid config copy for document store ( #669 )
2022-09-21 21:31:48 -04:00
Lee Cannon
f90142d0cc
create entire cache folder path
2022-09-20 19:52:24 +01:00
Techatrix
cf52fd8190
report cImport failure using textDocument/publishDiagnostics
2022-09-19 19:53:41 +02:00
Techatrix
7f4f002380
Testing improvements ( #662 )
2022-09-18 22:47:06 +00:00
Lee Cannon
b3078c36dd
Merge pull request #656 from jcmoyer/env-fixup
...
Add target to Env struct
2022-09-18 19:05:51 +01:00
J.C. Moyer
0feecee18c
Add target to Env struct
...
See: https://github.com/ziglang/zig/pull/11741
2022-09-18 02:45:30 -04:00
Caleb Cornett
96f00f05f6
Pass -lc to translate-c ( #660 )
2022-09-17 15:16:36 -04:00
Lee Cannon
6d9e891d98
fix for zig master ( #658 )
2022-09-17 15:05:55 -04:00
Techatrix
b76710ea5f
References improvements ( #653 )
2022-09-16 01:11:39 +00:00
Techatrix
e28549fa7d
Completely overhaul offsets.zig ( #643 )
...
* completely overhaul offsets.zig
2022-09-16 00:33:49 +00:00