Comments (7)
I'm thinking this might be an issue with the linux version of the extension. I just installed it on VSCode on Mac and it works fine. One thing I noticed is that when I installed the extension on Mac it automatically created the $HOME/Library/Application Support/Code/User/hsnips directory. When I installed on Linux it didn't do that.
from hsnips.
Sorry for the delay in getting to this issue, can you check if you can run those commands when you leave all.hsnips
empty?
from hsnips.
Also, could you open the console at Help > Toggle Developer Tools
, reload the extension and check if there are any errors logged over there?
from hsnips.
Also, could you open the console at Help > Toggle Developer Tools, reload the extension and check if there are any errors logged over there?
This is the error that showed in the console:
Activating extension 'draivin.hsnips' failed: Cannot find module './hsnippetInstance'
Require stack:
- /home/JackYoungblood/.vscode/extensions/draivin.hsnips-0.1.0/out/extension.js
- /usr/share/code/resources/app/out/vs/loader.js
- /usr/share/code/resources/app/out/bootstrap-amd.js
- /usr/share/code/resources/app/out/bootstrap-fork.js
from hsnips.
Sorry for the delay in getting to this issue, can you check if you can run those commands when you leave
all.hsnips
empty?
I ran the commands with an empty all.hsnips and the error was the same. I ran the command with no all.hsnips file and had the same error.
from hsnips.
Thanks, I see the issue now, it seems that once upon a time I renamed the file HSnippetInstance
to hsnippetInstance
, but never cleaned the builds, so the file was still named HSnippetInstance
in the output folder. As windows has no filename case sensitivity this was not an issue, but when you run it on linux this happens.
Could you try version 0.1.1 and tell me how it goes?
from hsnips.
Thanks, I see the issue now, it seems that once upon a time I renamed the file
HSnippetInstance
tohsnippetInstance
, but never cleaned the builds, so the file was still namedHSnippetInstance
in the output folder. As windows has no filename case sensitivity this was not an issue, but when you run it on linux this happens.Could you try version 0.1.1 and tell me how it goes?
The works now. Thanks very much for the quick fix!
from hsnips.
Related Issues (20)
- "Error creating hsnips directory in WSL2 when using 'open snippets file' command in extension"
- Regular Expression with underscore
- Can Not Match regular expression like: `(\S*)\.log$` "Desc" without A
- "Open snippet file for current language" command?
- 有时无法触发 HOT 2
- Hypersnip not always start with vscode on MacOS HOT 1
- Hide snippet suggestion
- Autocomplete failure if no language field exist in tokens/scopes HOT 1
- Escape character not working for code blocks in markdown HOT 1
- Callback is not a function when using directory
- **Description** is only visible when the snippet is selected.
- Problem with hyperref and `` ''
- Everything stop working HOT 2
- Bug Report Abw not working
- Latest hypersnips does not work for me HOT 2
- Snippets lag depending on position.
- Feature request: Configure keybindings from vscode HOT 1
- Expanding snippets inside snippets deletes tabstops HOT 46
- all.hsnips fails on C/C++ projects
- Running 'File Delete' participants Bug
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 hsnips.