Skip to content

Commit 29db88e

Browse files
committed
feat: update language tools to 3.0.7
1 parent f2b38cf commit 29db88e

File tree

3 files changed

+33
-31
lines changed

3 files changed

+33
-31
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
"@volar/monaco": "2.4.23",
9393
"@volar/typescript": "2.4.23",
9494
"@vue/babel-plugin-jsx": "^1.4.0",
95-
"@vue/language-core": "3.0.7-alpha.1",
96-
"@vue/language-service": "3.0.7-alpha.1",
97-
"@vue/typescript-plugin": "3.0.7-alpha.1",
95+
"@vue/language-core": "3.0.7",
96+
"@vue/language-service": "3.0.7",
97+
"@vue/typescript-plugin": "3.0.7",
9898
"assert": "^2.1.0",
9999
"bumpp": "^10.2.2",
100100
"codemirror": "^5.65.18",
@@ -117,6 +117,6 @@
117117
"vscode-uri": "^3.1.0",
118118
"volar-service-typescript": "0.0.65",
119119
"vue": "^3.5.18",
120-
"vue-tsc": "3.0.7-alpha.1"
120+
"vue-tsc": "3.0.7"
121121
}
122122
}

pnpm-lock.yaml

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/monaco/vue.worker.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { getComponentProps } from '@vue/typescript-plugin/lib/requests/getCompon
3232
import { getComponentSlots } from '@vue/typescript-plugin/lib/requests/getComponentSlots'
3333
import { getElementAttrs } from '@vue/typescript-plugin/lib/requests/getElementAttrs'
3434
import { getElementNames } from '@vue/typescript-plugin/lib/requests/getElementNames'
35-
import { getPropertiesAtLocation } from '@vue/typescript-plugin/lib/requests/getPropertiesAtLocation'
35+
import { isRefAtPosition } from '@vue/typescript-plugin/lib/requests/isRefAtPosition'
3636

3737
export interface CreateData {
3838
tsconfig: {
@@ -204,16 +204,15 @@ self.onmessage = async (msg: MessageEvent<WorkerMessage>) => {
204204
getElementNames(fileName) {
205205
return getElementNames(ts, getProgram(), fileName)
206206
},
207-
getPropertiesAtLocation(fileName, position) {
207+
isRefAtPosition(fileName, position) {
208208
const { sourceScript, virtualCode } = getVirtualCode(fileName)
209-
return getPropertiesAtLocation(
209+
return isRefAtPosition(
210210
ts,
211211
getLanguageService().context.language,
212212
getProgram(),
213213
sourceScript,
214214
virtualCode,
215215
position,
216-
false,
217216
)
218217
},
219218
async getQuickInfoAtPosition(fileName, position) {
@@ -260,6 +259,9 @@ self.onmessage = async (msg: MessageEvent<WorkerMessage>) => {
260259
getEncodedSemanticClassifications() {
261260
throw new Error('Not implemented')
262261
},
262+
getReactiveReferences() {
263+
throw new Error('Not implemented')
264+
},
263265
})
264266
const ignoreVueServicePlugins = new Set([
265267
'vue-extract-file',

0 commit comments

Comments
 (0)