-
Notifications
You must be signed in to change notification settings - Fork 2
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
Autocompletion for viewModel/baseType directives #6
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
try { | ||
dotvvmspy = require('lib-dotvvm-spy'); | ||
|
||
if (dotvvmspy?.sanityCheck() !== true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not we also check that we are running in a 64-bit process? I may have missed it if it is checked elsewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would fail to load and crash, but I added the checks for platform and architecture
17e5467
to
1e86c74
Compare
…tnet-native-analyzer
681807c
to
24629e8
Compare
24629e8
to
7498222
Compare
pkg supports loading additional libraries if the loaded X.node file is on node_modules folder. Our library wasn't, because the node_modules entry was symlinked into another directory. So only the something.node file was loaded, not the libDotvvmSpy.so file
See the parent commit for description
The type list comes from ILSpy's typesystem, compiled using .NET native as a shared library (their static linking is broken)
This is mostly a PoC of the ILSpy running in .NET native. It is then loaded to the language server as node addon. It currently only compiles on Linux, it should be similar on MacOŠ, and we can skip Windows for now. The extension should work fine without it.
TODO: