Tyler Wilding
|
53277a65ad
|
LSP: A bunch of new OpenGOAL language features (#3437)
- Integrate the AST into the LSP, this makes parsing and tokenizing the
files much easier
- Consolidate most of the symbol info tracking in `goalc` to a single
map. Fixed some issues where the old map would never evict symbols when
re-compiling files. There is still some more to cleanup, but this now
can be used as an incrementally updated source-of-truth for the LSP
- re-compile files when they are saved. Ideally this would be done
everytime they are changed but that:
- may be too aggressive
- goalc doesn't compile incrementally yet so it likely would be a worse
UX
Features added, see
https://github.com/open-goal/opengoal-vscode/issues/256
- Hover


- LSP Status fixed
- Type Hierarchy

- Document Color

- Document Symbols

- Completions

---------
Co-authored-by: Hat Kid <6624576+Hat-Kid@users.noreply.github.com>
|
2024-03-30 19:49:07 -04:00 |
Tyler Wilding
|
a7cf66fda6
|
formatter: support formatting bindings, for example in a `let` (#2883)
|
2023-08-05 15:23:09 -04:00 |
Tyler Wilding
|
3dbaee1ecc
|
formatter: handle top level blank lines and better handle comments (#2702)
|
2023-06-06 20:34:50 -04:00 |
Tyler Wilding
|
6d620a9289
|
formatter: extract formatting into a rules abstraction, add `inner` formatting (body vs argument functions) (#2684)
|
2023-06-04 13:19:29 -04:00 |
Tyler Wilding
|
4c6982b0ec
|
formatter: initial and basic indentation/alignment and expose the formatting via the LSP (#2673)
|
2023-05-28 13:22:00 -04:00 |
Tyler Wilding
|
0ffb912a04
|
formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536)
|
2023-04-24 23:46:55 -04:00 |