Skip to content

refactor(language-core): simplify VirtualFile#91

Merged
johnsoncodehk merged 29 commits intomasterfrom
virtual-file-refactor
Nov 21, 2023
Merged

refactor(language-core): simplify VirtualFile#91
johnsoncodehk merged 29 commits intomasterfrom
virtual-file-refactor

Conversation

@johnsoncodehk
Copy link
Copy Markdown
Member

@johnsoncodehk johnsoncodehk commented Nov 20, 2023

Changes

  • No longer have FileCapabilities for file.capabilities and FileRangeCapabilities for mapping.data, only CodeInformation for mapping.data
  • Remove FileCapabilities.full and FileRangeCapabilities.full as editor features are currently enabled by default
  • Remove VirtualFile.kind and use VietualFile.typescript for typescript project instead of

@johnsoncodehk johnsoncodehk marked this pull request as ready for review November 20, 2023 23:08
@johnsoncodehk johnsoncodehk changed the title refactor: neater virtual code data structure refactor(language-core): neater virtual code data structure Nov 20, 2023
johnsoncodehk added a commit to johnsoncodehk/language-tools-1 that referenced this pull request Nov 20, 2023
johnsoncodehk added a commit to johnsoncodehk/mdx-analyzer that referenced this pull request Nov 20, 2023
@johnsoncodehk johnsoncodehk changed the title refactor(language-core): neater virtual code data structure refactor(language-core): simplify VirtualFile Nov 21, 2023
@johnsoncodehk johnsoncodehk mentioned this pull request Nov 21, 2023
42 tasks
@johnsoncodehk johnsoncodehk merged commit c2c0840 into master Nov 21, 2023
@johnsoncodehk johnsoncodehk deleted the virtual-file-refactor branch November 22, 2023 03:05
johnsoncodehk added a commit to vuejs/language-tools that referenced this pull request Nov 24, 2023
Princesseuh added a commit to withastro/language-tools that referenced this pull request Dec 15, 2023
* updates

* updates

* sync volarjs/volar.js#91

* delete FileKind [skip ci]

* remove FileKind [skip ci]

* fixup [skip ci]

* format [skip ci]

* fix tsx mapping [skip ci]

* remove edge mapping

* updates [skip ci]

* upgrade to volar alpha

* Update Volar

* fileId -> fileName

* format

* updates

* updates

* updates

* use `@volar/test-utils`

* bump services

* update package.json

* bump deps

* fix openUntitledDocument

* Update client.ts

* test: update test setup to not stall

* test: update tests

---------

Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant