summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-language-server.cpp
Commit message (Collapse)AuthorAge
...
* Support compile-time constant int val in the form of polynomials. (#2372)Yong He2022-08-22
| | | Co-authored-by: Yong He <yhe@nvidia.com>
* Trigger function signature on typing "," (#2366)Yong He2022-08-18
| | | Co-authored-by: Yong He <yhe@nvidia.com>
* Warning on lossy implicit casts. (#2367)Yong He2022-08-17
| | | | | | | | | | | | | | | * Warning on bool to float conversion. * Fix test cases. * Improve. * LanguageServer: don't show constant value for non constant variables. * Fix tests. * Fix warnings in tests. Co-authored-by: Yong He <yhe@nvidia.com>
* Fix logic of `is` operator. (#2359)Yong He2022-08-12
|
* Language Server: Auto format bug fixes. (#2326)Yong He2022-07-14
|
* Language server: auto completion of `import` file and directories. (#2312)Yong He2022-07-01
| | | | | | | | | * Language server: auto completion of `import` file and directories. * Completion of include path. * Improvements. Co-authored-by: Yong He <yhe@nvidia.com>
* Language server: extract documentation from ordinary comments (#2308)Yong He2022-06-30
| | | | | | | | | | | | | | | | | | | | | | * Language server: improved documentation formatting. * Extend doc extractor to search in ordinary comments. Reuse language server instance between tests. * Fix test case. * Fix comment. * Fix crash. * Fix enum case doc extraction. * Doc extractor fixes. * Fix. * Fix. Co-authored-by: Yong He <yhe@nvidia.com>
* Language server fixes and improvements (#2304)Yong He2022-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Language server: Inlay hints. * Signature help for base exprs that is not a declref. * Fix checking of jvp operator. * Fix. * Add clang-format based auto formatting. * Fix clang error. * Fix clang-format discovery logic. * Fine tune auto formatting and completion experience. * Update macos workflow. * Fixes to configurations. * Fix parser recovery to trigger completion for index exprs. * Typo fix. Co-authored-by: Yong He <yhe@nvidia.com>
* More Language Server Improvements. (#2289)Yong He2022-06-22
|
* Language server: document symbols (#2287)Yong He2022-06-16
| | | | | | | * Language Server: Document Symbol outline. * Fix highlighting of extension decls. Co-authored-by: Yong He <yhe@nvidia.com>
* Follow up on Language Server Improvement (#2275)Yong He2022-06-13
| | | | | | | * Fix typo and improve parser recovery. * Add search path configuration. Co-authored-by: Yong He <yhe@nvidia.com>
* Language Server improvements. (#2269)Yong He2022-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Language Server improvements. - Improve parser robustness around `attribute_syntax`. - Exclude instance members in a static query. - Coloring accessors - Improved signature help cursor range check. * Add expected test result. * Language server: support configuring predefined macros. * Fix constructor highlighting. * Improving performance by supporting incremental text change notifications. * Fix UTF16 positions and highlighting of constructor calls. * Add completion suggestions for HLSL semantics. * Fix tests. * Fix: don't skip static variables in a static query. * Include literal init expr value in hover text. * Fix scenarios where completion failed to trigger. * Fixing language server protocol field initializations. Co-authored-by: Yong He <yhe@nvidia.com>
* Hot fix: Language server protocol initialization (#2274)jsmall-nvidia2022-06-13
| | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Set default values for all language server protocol types. Remove = {}; which causes warning/error on older compilers.
* Hotfix: Hover initialization (#2273)jsmall-nvidia2022-06-13
| | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix warning/error on older compiler initializing hover.
* Add smoke test for language server. (#2266)Yong He2022-06-08
|
* Code review fixes for language server. (#2265)Yong He2022-06-07
| | | | | | | | | * Code review fixes for language server. * Fix clang error. * update solution file Co-authored-by: Yong He <yhe@nvidia.com>
* Major language server features. (#2264)Yong He2022-06-07
* Major language server features. * Include slangd in binary release. * Fix compiler issues. * Fix compiler error. * Completion resolve. * Various improvements. * Update diagnostic test expected output. * Bug fix for source locations. * Adjust diagnostic update frequency. * Update github actions to store artifacts. * Fix infinite parser loop. * Fix parser recovery. * Fix parser recovery. * Update test. * Fix test. * Disable IR gen for language server. * Allow commit characters in auto completion. * Fix lookup for invoke exprs. * More parser robustness fixes. * update solution file Co-authored-by: Yong He <yhe@nvidia.com>