aboutsummaryrefslogtreecommitdiff
path: root/src/server
Commit message (Collapse)AuthorAgeFilesLines
...
| * Refractor ast_context.current_package now being called through defered functionsDanielGavin2024-05-114-76/+115
| |
| * Fix issues with the local evaluation of generic function in value decl, ↵DanielGavin2024-05-112-2/+21
| | | | | | | | since we can't lazily evaluate it.
* | Start working on file resolvingDanielGavin2024-05-115-298/+116
|/
* Fix variable names in value declarations not having symbolsDamian Tarnawski2024-05-091-35/+26
|
* Add a .Type SymbolType enumDamian Tarnawski2024-05-083-18/+15
|
* Merge pull request #378 from thetarnav/no-symbol-for-nilDanielGavin2024-05-062-11/+10
|\ | | | | Don't make a symbol for `nil`
| * Don't make a symbol for `nil`Damian Tarnawski2024-05-052-11/+10
| | | | | | | | Don't make a symbol for `nil` and enable semantic tokens for `SymbolBasicValue`
* | Add a symbol for explicit `enum.member` selectorsDamian Tarnawski2024-05-052-20/+11
|/
* Add Or_Branch_Expr to semantic tokensDanielGavin2024-05-051-39/+48
|
* Add Or_Branch_Expr to get_document_positionDanielGavin2024-05-051-27/+41
|
* Log the json that failsDanielGavin2024-05-051-5/+14
|
* TypoDanielGavin2024-05-041-1/+1
|
* Merge branch 'master' of https://github.com/DanielGavin/olsDanielGavin2024-05-041-4/+48
|\
| * SimplifyDamian Tarnawski2024-05-021-8/+7
| |
| * Highlight import namespace using semantic tokensDamian Tarnawski2024-05-021-4/+49
| | | | | | | | | | | | | | Removes highlighting the namespace in import path from tm grammars, and added it instead to the semantic tokens. So it works the same way between editors.
* | Check if index is -1DanielGavin2024-05-041-16/+20
|/
* Use filepath.abs on ols executable pathDanielGavin2024-05-022-15/+25
|
* Fix getting wrong symbol for selectorsDamian Tarnawski2024-04-271-4/+5
|
* Simplify and improve semantic tokens system furtherDamian Tarnawski2024-04-271-641/+240
| | | | | | | | | | | | | | | | | | | | - Remove the remaining tokens for operators, those will be handled by syntax highlighting - Improve `visit_value_decl` mostly around making aliases: ```odin foo :: proc() {} bar :: foo ``` now `bar` will be highlighted as a `.Function` - Add `src` to `SemanticTokenBuilder` to avoid it being passed around to every proc - Tried to reduce the amount of procedures and repeated code Now most of the work is done by `visit_node`, which walks the ast looking for identifiers, and `visit_ident`, which writes the token for that identifier based on it's symbol
* Merge pull request #368 from thetarnav/semantic-tokens-improvementsDanielGavin2024-04-263-508/+284
|\ | | | | Multiple improvements to semantic tokens feature
| * Multiple improvements to semantic tokens featureDamian Tarnawski2024-04-253-508/+284
| | | | | | | | | | | | | | | | | | | | | | - Removed the reflection mechanism mentioned in #366 - Made `SemanticTokenModifiers` into a `bit_set`. Since modifiers allow multiple flags. - Removed all semantic tokens for keywords, as they WILL be highlighted by the syntax highlighter. - Added a bunch of missing semantic tokens in `visit_node` and `visit_selector` - Added a bit_set visit code to `visit_node` - Added readonly modifiers to value declarations
* | New config to only call check on saved package.Daniel Gavin2024-04-253-23/+34
|/
* Merge branch 'master' of https://github.com/DanielGavin/olsDanielGavin2024-04-2212-35/+93
|\
| * Merge pull request #360 from Feoramund/fix-autocomplete-importDanielGavin2024-04-201-8/+24
| |\ | | | | | | Fix autocomplete for import
| | * Fix autocomplete for importFeoramund2024-04-191-8/+24
| | |
| * | Fix crash caused by slicing incomplete importFeoramund2024-04-191-1/+2
| |/
| * Merge pull request #359 from harold-b/fake-methods-receiverDanielGavin2024-04-182-9/+43
| |\ | | | | | | Emit proc "receiver" when using fake methods.
| | * Fix procs in external packages not getting receiver completion.Harold Brenes2024-04-181-18/+20
| | |
| | * Emit proc "receiver" when using fake methods.Harold Brenes2024-04-182-8/+40
| | |
| * | Merge pull request #356 from Feoramund/move-core-baseDanielGavin2024-04-189-16/+23
| |\ \ | | |/ | |/| Move packages to new base collection
| | * Move packages to new base collectionFeoramund2024-04-179-16/+23
| | |
| * | Merge pull request #357 from Feoramund/find-intrinsics-in-baseDanielGavin2024-04-181-1/+1
| |\ \ | | | | | | | | Look for intrinsics in base instead of core
| | * | Look for intrinsics in base instead of coreFeoramund2024-04-171-1/+1
| | |/
| * | Merge pull request #352 from Feoramund/fix-col-off-by-one-check-errorDanielGavin2024-04-181-1/+1
| |\ \ | | |/ | |/| Fix column off-by-1 error in check
| | * Fix column off-by-1 error in checkFeoramund2024-04-161-1/+1
| | |
* | | Use json now to parse errors in checkDanielGavin2024-04-221-132/+54
|/ /
* / Handle forward slash for windows after filepath.absDanielGavin2024-04-171-1/+6
|/
* Merge pull request #349 from laytan/use-odin-root-commandDanielGavin2024-04-161-32/+69
|\ | | | | use the new `odin root` command to resolve the builtin collections
| * use the new `odin root` command to resolve the builtin collectionsLaytan Laats2024-04-151-32/+69
| |
* | Merge pull request #351 from laytan/bit-field-supportDanielGavin2024-04-168-7/+443
|\ \ | | | | | | support bit_fields
| * | support bit_fieldsLaytan Laats2024-04-158-7/+443
| |/ | | | | | | | | | | They are pretty similar to structs (just a bit simpler) so I piggy backed of that a lot here, added some basic tests and tested the formatting myself.
* | Merge pull request #348 from laytan/fix-use-after-free-in-fake-methodsDanielGavin2024-04-161-1/+11
|\ \ | |/ |/| fix use after free in fake methods
| * fix use after free in fake methodsLaytan Laats2024-04-151-1/+11
| |
* | Final path of collection was using temp_allocator instead of allocatorDanielGavin2024-04-131-8/+16
| |
* | Added symlinking resolutionRaphGL2024-04-121-0/+6
| |
* | Change not being able to find ols.json to a warning, not an errorDanielGavin2024-04-121-3/+3
|/
* Merge pull request #337 from DanielGavin/objc-fixesDanielGavin2024-04-093-14/+54
|\ | | | | Objc fixes
| * Check for len being null in array.objc-fixesDanielGavin2024-04-091-3/+5
| |
| * Call expression should always increment the current argument counter, since ↵DanielGavin2024-04-061-2/+8
| | | | | | | | argument 1 is always the struct type.
| * Fix issues with objc completion and hoverDanielGavin2024-04-063-11/+43
| |