Comments (11)
It didn't work. So I completely reinstalled it by deleting AHK++ folder in C:\Users\myUsername\.vscode\extensions
, then reinstalled it in VS Code, restarted.
It wouldn't load... Until I created a new file with the .ahk extension.
Yes, it is now fully functional and shows me:
Activation event: onLanguage:ahk2
Activation time: 103ms
in working state.
Now it works even when I open files with .ahk extension, which it didn't before.
from ahkpp.
Can you paste the error?
from ahkpp.
Bruh... Not an actual error, it just doesn't load.
from ahkpp.
@dDeepLb have you opened an AHK file? The extension only activates once it's needed :)
from ahkpp.
Yes, opened one before VS Code launch and second when Code was already opened. AHK++ still not activated..
from ahkpp.
The extension only activates once it's needed :)
This piqued my curiosity. I have VSCode installed on a VM, so I uninstalled it along with the .vscode
and Code
folders, and reinstalled it (basically a clean install). I then (without opening any AHK scripts) installed AutoHokey Plus Plus and nothing else - et voilà, instant activation.
Afterthought: Wound back and also uninstalled the AHK v1/2 interpreters before reinstalling VSCode and AHKpp extension without reinstalling the interpreters - the AHKpp extension activated immediately on installation.
from ahkpp.
Yes, it activated on instalation. But after I re-entered VS Code - no activation..
from ahkpp.
Perhaps @mark-wiemer can explain a little more.
from ahkpp.
Unfortunately I really don't have ideas here. Of you uninstall and reinstall does it start failing again? VS Code actually recommended we extension devs remove some extension activation triggers as they claimed to handle activation themselves, clearly that's not working.
from ahkpp.
Even after I reinstalled it nothing new... Highlighting is here, but IntelliSense not... Maybe there is some way to activate it through dev tools or so?
from ahkpp.
Can you try executing AHK commands? e.g. pressing Ctrl+F1 to open quick help? Or opening a .ahk
file, opening command palette (F1), then typing "ahk++" and selecting any of the results?
Really sorry you're experiencing this, but I currently have no way to reproduce the issue. I will try to read developer documentation around this and look around to see if other extensions have experienced this before.
from ahkpp.
Related Issues (20)
- How to get intelisense suggestions for functions stored in '.\Documents\lib' ? HOT 2
- AHK V1 files language mode is always set to `AutoHotkeyV2` HOT 11
- Parser stops working on AHK v1.1 files HOT 4
- Extension forgot AHK location HOT 4
- "Go to definition" using Ctrl + Click jumps to another file opened in editor / or doesn't jump to definition at all within the same file if the file is very long ~10k lines HOT 1
- Wrong indentation when moving line of code out of if-statement HOT 1
- Wrong indentation: press Enter after condition-block in If-statement
- "Run" command thinks a V1 script is V2. HOT 4
- Formatter replaces multiple spaces with a single space inside a string HOT 1
- Wrong indentation on copy-paste HOT 6
- How to format code There is no formatter for 'ahk2' files installed. HOT 2
- No format intelicence or formating or colors HOT 4
- Language Switch problems HOT 2
- format code feature changes the number of spaces in a constant string HOT 1
- Debugger takes keyboard focus from active window HOT 1
- The Open AutoHotkey Help command is failing HOT 2
- allow rename variables HOT 1
- Availability as standalone LSP HOT 2
- Shortcut to comment/decomment selected line HOT 3
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 ahkpp.