Giter VIP home page Giter VIP logo

Comments (5)

nriley avatar nriley commented on July 28, 2024

For the moment you can work around this by installing the module from PyPI:

~/.talon/bin/pip install jsoncomment

from community.

rntz avatar rntz commented on July 28, 2024

I don't actually use whatever feature this is enabling. I'm filing this for the error message to go away; Talon spams me with a notification about it at every start up.

from community.

knausj85 avatar knausj85 commented on July 28, 2024

I’d be fine with renaming to snippet_watcher.py.disabled and making this an opt-in thing

Currently on the road, though.

from community.

rntz avatar rntz commented on July 28, 2024

It is possible in principle to handle ImportError in python:

try:
    import jsoncomment
except ImportError:
    ... do something else ...

Maybe there's a way to make this work for people who have 'jsoncomment' installed without erroring for people who don't?

from community.

knausj85 avatar knausj85 commented on July 28, 2024

Nothing terribly robust without basically reinventing jsconcomment... comments and a few other things vscode does for snippets aren’t part of json proper.

I might see if aegis is willing to include it with Talon at some point.

from community.

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.