Some questions #90
-
Q1- Is possible to display more than one line when you rest mouse over a function name?
It only displays the first line above the function. Q2- Is possible to disable "goto definition" from going from a file to another? Example: I think this happens when it does not find the function in the current file but finds it in another file currently opened inside vscode. Q3- Is possible to jump to an error line with a hotkey? Like on the AutoHotkeyScite that you press F4 and it goes to the error line. Q4- Any news regarding the bugs in auto-format? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Q1
Not yet, if you'd like this functionality, please open an issue for tracking. It's a limitation of the way method header comments are interpreted, should be easy to improve, but there are a lot of bugs on the backlog :/ Q2
Also no. I don't follow your exact use case here: do you have the same file open in three editors, or do you have three separate files open that all have different functions with the same name? Do "go to definition" ever take you to the wrong file? Q3
VS Code has built-in "Go to problem" commands that accomplish what you want. Unfortunately, this extension doesn't currently mark syntax errors, so those commands are not used for AHK :/ if you find an extension that does highlight errors, then "Go to next problem" (F8) should accomplish what you're asking. Q4
Many of them will require a complete overhaul to fix. Currently formatting is done in a very limited way: one line at a time with regular expressions. For more functionality, we should build an abstract syntax tree by parsing the entire file as we format. There are significant challenges with this approach, so it will take some time to get started. ConclusionI'm sorry for the disappointing answers. I have been very busy recently and have not had time to work on this project. I have a few more tasks for the day, and then I hope to start working on a bug for the first time in a while. I do think there's a lot of potential here, and I want to keep chipping away at bugs as I make time for them. But there's a lot to figure out here (I'm very new to AHK and this is my first VS Code extension) and I'm just one person, so I appreciate your patience as I learn :) If you want to track progress on any issue, please open one bug per issue and I'll add it to the backlog. |
Beta Was this translation helpful? Give feedback.
-
AutoHotkey Debug extension with external library shows in debug console clickable link with launch-time or runtime error.
I had some Pull Request to fix several bugs. Waiting for approval. |
Beta Was this translation helpful? Give feedback.
Q1
Not yet, if you'd like this functionality, please open an issue for tracking. It's a limitation of the way method header comments are interpreted, should be easy to improve, but there are a lot of bugs on the backlog :/
Q2