GithubHelp home page GithubHelp logo

Triggers Won't Fire about hsnips HOT 7 CLOSED

draivin avatar draivin commented on September 2, 2024
Triggers Won't Fire

from hsnips.

Comments (7)

JackYoungblood avatar JackYoungblood commented on September 2, 2024

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.

draivin avatar draivin commented on September 2, 2024

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.

draivin avatar draivin commented on September 2, 2024

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.

JackYoungblood avatar JackYoungblood commented on September 2, 2024

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.

JackYoungblood avatar JackYoungblood commented on September 2, 2024

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.

draivin avatar draivin commented on September 2, 2024

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.

JackYoungblood avatar JackYoungblood commented on September 2, 2024

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?

The works now. Thanks very much for the quick fix!

from hsnips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.