-
Notifications
You must be signed in to change notification settings - Fork 0
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
trying to test it #2
Comments
Hi Glauco, Thanks for the feedback! There might be another way to install it:
Could you try that out? I'll also try to publish the extension as-is, this is ultimately how it shall be used. |
@glauco The extension is now up in the Visual Studio marketplace! |
Hi @tirix , I've installed it from the market place. If I open a .mmp file, right-click a label, I see "Show Proof", thus I guess the extension is working. But when I select "Show Proof" it does nothing. I've added the .metamath.json file to point to a set.mm file in the folder (with a bunch of mmp files) I've run Is there a way for me to check if the set.mm parsing was done? Any hint? Thanks in advance |
Hi Glauco, If you saw the "Show Proof" option in the context menu it already means that the extension is correctly installed and activated - that's a first step! Here are different things you could try:
This tool is still in development, but your feedback will definitely help improving it! |
Hi @tirix , my answers below:
I only see the "Show Proof", I don't get the other options/features. And I don't get syntax highlighting
Yes, it works (I can launch it from any folder) Looking at the help output, I've then tried Content-Length: 95 {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Database loaded.","type":4}} But it still doesn't work.
It didn't appear (on another VM). Here's the content:
I don't have "Metamath Server", but I have many others, among which "Log (Extension Host)" Here an interesting part of the log:
I also have a "Log (Window)" option. Here's an interesting part of that log
BR |
For the message
I've now checked and I actually have
so I hope this shoud be an easy fix :-) |
Hi Glauco! Ok, so this is going into several different directions:
I've published a new version v0.0.2, which includes both this dependency fix and the syntax highlighting fix. |
Hi @glacode, I've tried on a blank installation and found another possible cause: the name of the LSP server executable is In order to fix this, you have to go to "Settings", search settings for "metamath", and set the executable path to |
@tirix now it works (mostly, see below), and it's supercool!
Can't wait for next release! :-) Glauco |
Excellent! Thanks for your patience, being the first to try it out you're going to have a tougher ride...
|
I see nice progress here :-)
BR |
Hi Glauco! Nice! In order to keep organized, let's keep one GitHub issue for one problem: If you agree I'd like to close this one, so as to show one problem is fixed ("Nothing happens"), and have two new issues for the new problems:
About the difference between "Peek References" and "Go to References", it looks like the result is the same when there are several references. However, when there is a single reference, with "Go to References" VsCode directly jumps to the position, but only gives a peek with "Peek References". This behaviour is part of VsCode anyway, the Metamath extension itself is only providing the list of references with their locations. BR, |
Hi @tirix ,
in these days, every now and then I've tried to test your project. A few notes you could consider, when you'll update the Readme file:
I've tried to install it on a clean Ubuntu VM:
at some point (I don't remember if I was installing Rust, or I was compiling with Cargo) an error came up (googling for the error message, it was an easy fix, I was missing a C Compiler)
please, consider adding a note about updating node.js (I had to do it, because my npm version was pretty old, not sure if VSCode comes with an old version of node); on Linux I always use nvm to manage node versions
to silence warnings, I had to launch a 'npm install'
Now F5 runs, but it does nothing (I would expect the "Extension Development Host" to open). Should I look for the launch.json file?
I'll look further into it.
Thanks for the great job
Glauco
The text was updated successfully, but these errors were encountered: