File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -77,25 +77,43 @@ If you want to connect a local version of language-server-runtimes to aws-toolki
7777 /toolkit
7878 /core
7979 /amazonq
80+ /language-servers
8081 /language-server-runtimes
8182 ```
8283
83842. Inside of the language-server-runtimes project run:
85+
8486 ```
8587 npm install
8688 npm run compile
8789 cd runtimes
8890 npm run prepub
8991 cd out
90- npm link
91- cd ../../types
92- npm link
92+ npm pack
9393 ```
94+
95+ You will see a file created like this: `aws-language-server-runtimes-0.*.*.tgz`
96+
9497 If you get an error running `npm run prepub`, you can instead run `npm run prepub:copyFiles` to skip cleaning and testing.
95- 3. Inside of aws-toolkit-vscode run:
98+
99+ 3. Inside of language-servers, find the package where you need the change.
100+
101+ For example, if you would like the change in `language-servers/app/aws-lsp-codewhisperer-runtimes`, you would run:
102+
96103 ```
97- npm install
98- npm link @aws/language-server-runtimes @aws/language-server-runtimes-types
104+ cd language-servers/app/aws-lsp-codewhisperer-runtimes
105+
106+ npm install ../../../language-server-runtimes/runtimes/out/aws-language-server-runtimes-0.*.*.tgz
107+
108+ npm run compile
109+ ```
110+
111+ 4. If you need the change in aws-toolkit-vscode run:
112+
113+ ```
114+ cd aws-toolkit-vscode
115+
116+ npm install ../language-server-runtimes/runtimes/out/aws-language-server-runtimes-0.2.126.tgz
99117 ```
100118
101119## Amazon Q Inline Activation
You can’t perform that action at this time.
0 commit comments