Giter Site home page Giter Site logo

Comments (4)

suoto avatar suoto commented on May 26, 2024

Possibly yes via glob style patterns. The only issue is how to trigger searching when files are added or removed after the file has been read.

I learned recently that LSP allows servers to have custom commands, but I'd rather have this running without user intervention (and without hogging the cpu by searching over and over)

from hdl_checker.

chrbirks avatar chrbirks commented on May 26, 2024

Okay I wasn't aware that adding sources to the config file while the server is running was possible. So yes, indexing new files should be handled in a nice way somehow. The LSP server I currently use for VHDL cannot handling adding/removing source files while running so that hasn't been a problem.

from hdl_checker.

suoto avatar suoto commented on May 26, 2024

Support for specifying using Python glob, which allows patterns like /project/foo/*.vhd and, in case of Python 3, allows recursive inclusion with /project/**/*.vhd (will include all .vhd files inside /project/). More info on how glob behaves, have a look at https://docs.python.org/3/library/glob.html.

The server won't automatically search for files, to trigger that you can (1) remove HDL Checker work folder (<root_path>/.hdl_checker/ on Unix, <root_path>\\_hdl_checker\\ on Win) or (2) change the config file timestamp.

Thanks for reporting, let me know if there's any other issue! 👍

from hdl_checker.

chrbirks avatar chrbirks commented on May 26, 2024

Thanks I'll give et a try in the next release.

from hdl_checker.

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.