Skip to content
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

refactor(language-core): simplify VirtualFile #91

Merged
merged 29 commits into from
Nov 21, 2023

Conversation

johnsoncodehk
Copy link
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
6 checks passed
@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