* Add CST parsing code into waspc
* Implement CST -> AST conversion
* Implement parseExpression & isValidWaspIdentifier
* Implement golden tests for Parser
* Configure CI git checkout to always use LF line endings
* Refactor diagnostics
Now stores diagnostics info in the state instead of computing when diagnostics
are being published.
* Refactor Wasp.LSP.State into multiple files
* Move all LSP type imports to qualified
More consistent and more clear where things come from
* Use new concrete parser in diagnostics
Before running full analyzer, runs CST parser to check if it parses correctly
and to collect many parse errors. The CST is always put into the state. Then, if
successful, the full analyzer gets run as before.
* Add basic autocompletion
Always suggests every declaration name in the file, with no context-sensitivity.
* Refactor some names
* Syntax tree traversal code
* Attempt at context-sensitive autocomplete
Not done, but doing some more refactoring before going back to this
* Refactor Control.Syntax.Traverse to use total functions
* Make autocompletion context sensitive
It actually works now
* Miscellaneous code clean up
* Fix incorrect type name
* Fix syntax traversal bug with back
* Remove unreadable symbols from syntax traversal
* Refactor completion code
* Refactor syntax traversal code
* Apply suggestions from code review
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
* Feedback from code review
* Add tests for Control.Monad.Loops.untilM
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
* Minor spelling/grammar fixes in getting-started.md
* minor grammar/spelling fixes in new project
* minor spelling/grammar fixes in task-entity.md
* minor spelling/grammar fixes to listing-tasks.md
* minor spelling/grammar fixes in creating-tasks.md
* minor spelling/grammar fixes in updating-tasks.md
* corrections to auth.md
* minor fixes to dependencies.md
* fixes to the-end.md
* fix link
* typo
* Setup waspls project
* Basic LSP functionality implemented
Reports one diagnostic per file, updated on open, save, and change.
* Changes from code review
* Limited Wasp node version to ^16.0.0 && <=16.15.0.
In the process, I removed .nvmrc files from generated code and
refactored SemanticVersion to follow npm spec.
I also updated CI to use node 16.15.0, and not any 16.
I also updated docs.
* Make waspc/todoApp return tasks in consistent order
(cherry picked from commit 57606c74e4)
* Reduce duplication in frontend actions and queries
* Fix formatting
* Update e2e tests to include queries/core
* Add first draft of blog post
* Finish article
* finalized filip intro post - added intro + rm martijn post.
* Update web/blog/2022-05-31-filip-intro.md
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
* Update web/blog/2022-05-31-filip-intro.md
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
* Update web/blog/2022-05-31-filip-intro.md
Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
* Make final edits to the intro blog post
Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>