Comments (2)
The problem is the size of the project. Unfortunately there's no way to access the TypeScript compiler that is used by VSCode, so I need to create my own compiler instance and parse the source again. This takes time and adds a significant overhead. Currently this process is happening right within the VSCode extension and it's not very performant. Perhaps there's also an issue when loading your project that results in an error - the amount of different configurations and use cases is unexpectedly large.
In an upcoming version I will improve this process and split the implementation in a client and server part (opaque to the users) to improve performance. I'll also add some sort of busy-indicator and more log messages.
from vscode-inline-types.
Bummer on the VSCode sandboxing limitations. Please do tag me/this thread if there’s any proposals to the vscode core that you need me to upvote.
from vscode-inline-types.
Related Issues (20)
- [Bug] Return type of methods is not rendered
- feat: consider support inline-type in IfStatement HOT 2
- Work on tsx files
- Configurable colour
- Add option to not render types for arrow functions twice. HOT 1
- Make type renders their own characters HOT 2
- Not working if tsconfig.json is not found at the root folder
- Not working for types defined in libraries HOT 1
- Decoration styles (default or overridden) are not applied when the effective type is `any` HOT 2
- Option to automatically write the inferred definition
- Implement this as a Language Service Plugin
- PSA: Extension is no longer needed because this feature has been implemented natively
- [Feature] Allow configuration of the extension
- [Feature] Render decoration for inferred Type Arguments
- [Feature] Introduce update-delay
- [Improvement] Investigate and improve performance HOT 3
- [Feature] Add special highlight on inferred `any` type
- [Improvement] Add testing
- [Improvement] Add logging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-inline-types.