-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: LG LSP in Composer #1504
Merged
Merged
feat: LG LSP in Composer #1504
Changes from all commits
Commits
Show all changes
162 commits
Select commit
Hold shift + click to select a range
a3be983
Add LSP of LG
cosmicshuai 967c133
change folder name
cosmicshuai 50eead9
change folder location
cosmicshuai 9e4da28
seperate server and client demo
cosmicshuai 1963f3a
add completion and hover for builtin-functions
cosmicshuai 4ed777e
change file names
cosmicshuai ba5b6d4
change dependency
cosmicshuai c58ae8c
refactor the package
cosmicshuai 85a2523
update demo readme
cosmicshuai 415a11c
merge changes from master
cosmicshuai 934211d
make some refine
Danieladu e825a94
Merge branch 'master' into shuwan/AddingLG_LSP
Danieladu 6699260
remove npm lock file
Danieladu 2a3957b
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai f4dd101
add demos to workspace and run test in 1 command
cosmicshuai 4e34574
remove declaration files
cosmicshuai 615266e
change tsc outDir to dist, simplify test command
cosmicshuai b24276c
Merge branch 'master' into shuwan/AddingLG_LSP
boydc2014 7a792ed
add syntax highlight in demo and new API
cosmicshuai 70729c3
Merge branch 'shuwan/AddingLG_LSP' of https://github.com/microsoft/Bo…
cosmicshuai 79264f0
change naming of the project and move the demo
cosmicshuai e0927c6
merge from master and resolve confilcts
cosmicshuai 3e35a12
remove package.json in demo
cosmicshuai 1ec29ec
Merge branch 'shuwan/AddingLG_LSP' of https://github.com/microsoft/Bo…
cosmicshuai ed2a6d7
change the content in readme
cosmicshuai d3eea2d
fix lg-lsp package publish problem
cosmicshuai e368b33
fix build command and redundent d.ts files
cosmicshuai f4e384d
integrate LG LSP server to composer server
cosmicshuai 0fda7c6
change api in demo
cosmicshuai f8d78a2
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai a8835be
Merge branch 'master' into shuwan/AddingLG_LSP
boydc2014 862ddc8
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai f561ee1
change the order of commands in build:prod
cosmicshuai 67726d1
Merge branch 'shuwan/AddingLG_LSP' of https://github.com/microsoft/Bo…
cosmicshuai 5d58244
delete redundent files generated from build
cosmicshuai 6f03b83
change lg-lsp-server api to attachLSPServer
cosmicshuai 98bb820
remove gitignore in lg-lsp-server demo
cosmicshuai 26d6ae0
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai 57a7e47
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai 54662d7
remove attachLSPServer in server
cosmicshuai ebc3218
Merge branch 'master' into shuwan/AddingLG_LSP
cosmicshuai 9e36bd3
Merge branch 'master' into shuwan/AddingLG_LSP
zhixzhan f4732c2
Merge branch 'master' into shuwan/AddingLG_LSP
zhixzhan 64710d7
stash
zhixzhan eacdd63
freeze vscode-languageserver-protocol@3.15.0-next.8
zhixzhan c29ab72
stash code-editor lsp demo
zhixzhan 7438c44
update
zhixzhan bf40556
build react sample demo
zhixzhan f48b4d4
Merge branch 'lg-lsp' of https://github.com/zhixzhan/BotFramework-Com…
zhixzhan 295e83e
version 17
zhixzhan 470ecc0
launch lsp server
zhixzhan 68c5e53
connect server
zhixzhan a23cd6c
calc offset
zhixzhan d67628e
concat full content
zhixzhan ff018ac
clean demo
zhixzhan 8e71a1e
update
zhixzhan 877f1d3
do not build lglsp editor
zhixzhan 60b07ef
update demo
zhixzhan 6feafd8
update before build
zhixzhan 351ee2d
clean build
zhixzhan bc717dc
inline mode
zhixzhan 11074df
build
zhixzhan 865e03f
lsp working demo in composer
zhixzhan 8ab31a9
renaming
zhixzhan 9679c0a
eslint and build fix
zhixzhan 181e335
add utils
zhixzhan 77a6972
monaco editor core component
zhixzhan 2880b43
wrap up editor component
zhixzhan 0228e08
seperate client and server
zhixzhan bc7db19
update wrap
zhixzhan 57c01f1
attach language server to composer server
zhixzhan f23037e
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan d0d77f8
token rules and suggestion context awareness
zhixzhan 551b707
complete demo
zhixzhan e6cc0c8
inline template editor in form
zhixzhan c69c399
inline in all-up view
zhixzhan 7bcdbae
refactor
zhixzhan 35d8e19
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan 8bf5a47
check file
zhixzhan 13e9902
update
zhixzhan a04fffd
remove monaco-webpack-plugin
zhixzhan f6215de
import diectly instead of call register
zhixzhan 00eed81
create language server url
zhixzhan e729dbb
add package
zhixzhan 4f05a28
allow suggestion in plaintext state
zhixzhan 17780b7
update integrity hash
zhixzhan 24a9de8
exist check
zhixzhan ed23287
add back monaco-webpack-plugin
zhixzhan 94e69d7
add mixed demo
zhixzhan 7604244
code refactor
zhixzhan fd94093
merge folder
zhixzhan 7341bfa
add dependency
zhixzhan dadc451
resolve alias in jest
zhixzhan 2ba04a6
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan 879200c
fix type
zhixzhan a7861ef
resolve typing
zhixzhan 76eab47
clean up
zhixzhan 1c7c77f
clean up
zhixzhan e9bbde4
Merge branch 'master' into lg-lsp
cwhitten f3e4325
Update Composer/package.json
zhixzhan 53e317d
Update Composer/packages/tools/language-servers/language-generation/s…
zhixzhan 77f2855
Update Composer/packages/tools/language-servers/package.json
zhixzhan 353451e
refactor lsp server
zhixzhan 302c170
refactor lsp client
zhixzhan 3e5c218
resolve eslint
zhixzhan 7ea4c10
Merge branch 'master' into lg-lsp
cwhitten 0c62b91
move static syntax setting to code editor
zhixzhan affcb84
clean up
zhixzhan 2002784
clean
zhixzhan 0334668
use latest @types/vscode replace vscode
zhixzhan fc61812
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan f700a8a
only path map actual vscode module
a-b-r-o-w-n 94bfc55
disable lint errors
a-b-r-o-w-n b749264
Merge branch 'master' into lg-lsp
cwhitten b4decb6
resolve code review warning
zhixzhan dcaae5e
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan da078cc
clean up
zhixzhan 9e16753
pass less data
zhixzhan 3fb873b
fix type
zhixzhan 000aab4
clean up, typo, refine and naming
zhixzhan e3f9e58
clean up
zhixzhan 8ca649e
Merge branch 'master' of https://github.com/microsoft/BotFramework-Co…
zhixzhan 88b2feb
extends base
zhixzhan 3428893
hide source name
zhixzhan 681b7d8
add test
zhixzhan 7ca55cc
eslint resolve
zhixzhan 5566272
close connection when document close
zhixzhan ec4a267
Merge branch 'master' into lg-lsp
a-b-r-o-w-n 1c6c998
Merge branch 'master' into lg-lsp
zhixzhan e422c11
update
zhixzhan 94f2ea8
add time stamp for every new connection
zhixzhan 0ca7a11
pass parameters to inline editor
zhixzhan 11dfaa3
match lsp server port with env server port
zhixzhan 2504159
rename /lgServer to /lg-language-server
zhixzhan e1d7b88
refactor code
zhixzhan 5cd9b50
compatible LG Parser, prevent crash
zhixzhan ffdeffb
do not close shared connection
zhixzhan 5d86a01
send initial diagnostics with delay
zhixzhan 48fbfae
update demo
zhixzhan 31347d4
refactor error handling
zhixzhan 43cf70d
refine, review
zhixzhan 03dcff0
error handling
zhixzhan 677c7e6
ignore non-exist references at check template body
zhixzhan 1a24ecc
update tokenizer
zhixzhan e5f9bd8
close websocket when editor unmount
zhixzhan 46a7103
all editors use a shared unique ws connection
zhixzhan 0615cfa
Merge branch 'master' into lg-lsp
zhixzhan 7593735
fix structure lg in inline mode and comment token
cosmicshuai 4690635
fix lint
zhixzhan 4ca1ae4
update structure name token
cosmicshuai f90abe6
fix tokens
cosmicshuai 4908f3c
fix fence_block miss recognize template name
cosmicshuai 89f2aba
remove plaintext in allowState for LG completion
cosmicshuai 2d52722
control initial diagnostics send
zhixzhan f68709f
Merge branch 'lg-lsp' of https://github.com/zhixzhan/BotFramework-Com…
zhixzhan 5824cef
fix regExp in getWordAtPosition
cosmicshuai 8ff61f2
Merge branch 'lg-lsp' of https://github.com/zhixzhan/BotFramework-Com…
cosmicshuai 7a3aac9
optimize data passing
zhixzhan 1b753ec
update test
zhixzhan fdde777
Merge branch 'master' into lg-lsp
zhixzhan 979e19e
eslint fix
zhixzhan 9f36281
update test
zhixzhan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this code belongs on client-side (browser), it shouldn't be able to access
NODE_ENV
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
William we use a webpack plugin to serialize process.env into the client. No sensitive information is expected.