aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | More work on renamingDanielGavin2024-05-297-145/+163
| |
* | Work on file resolveDanielGavin2024-05-294-66/+204
| |
* | Merge remote-tracking branch 'origin/master' into renameDanielGavin2024-05-235-14/+46
|\|
| * TypoDanielGavin2024-05-221-2/+2
| |
| * Add validation when calculating the offset for token_range.DanielGavin2024-05-212-2/+7
| |
| * Fix issues with deferred package changes.DanielGavin2024-05-211-7/+35
| |
| * Quote file paths when calling odin checkDaniel Keenan2024-05-181-1/+1
| |
| * fix switch/for referencesWalther Chen2024-05-173-5/+4
| |
| * Fix issues with comments in comp literalDanielGavin2024-05-161-4/+4
| |
* | Start working on making the file resolver function.DanielGavin2024-05-191-23/+267
| |
* | move resolve entire file to seperate file.DanielGavin2024-05-171-290/+0
| |
* | Fix issues with comments in comp literalDanielGavin2024-05-161-4/+4
| |
* | Merge remote-tracking branch 'origin/master' into renameDanielGavin2024-05-124-75/+421
|\|
| * 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-023-16/+26
|
* Fix issues with space in { on comp literals without types.DanielGavin2024-04-281-3/+19
|
* Fix issues with comp literal returnsDanielGavin2024-04-281-1/+5
|
* Fix CIDanielGavin2024-04-281-1/+7
|
* Fix issues with comments in case clauseDanielGavin2024-04-281-8/+24
|
* Split case clause when it's too big.DanielGavin2024-04-282-34/+45
|
* 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-254-52/+64
|/
* Merge branch 'master' of https://github.com/DanielGavin/olsDanielGavin2024-04-2214-38/+97
|\
| * 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-1811-19/+27
| |\ \ | | |/ | |/| Move packages to new base collection
| | * Move packages to new base collectionFeoramund2024-04-1711-19/+27
| | |
| * | Merge pull request #357 from Feoramund/find-intrinsics-in-baseDanielGavin2024-04-181-1/+1
| |\ \ | | | | | | | | Look for intrinsics in base instead of core