Giter Site home page Giter Site logo

Testing about typescript-tsserver-plugin-template HOT 3 OPEN

orta avatar orta commented on August 22, 2024
Testing

from typescript-tsserver-plugin-template.

Comments (3)

orta avatar orta commented on August 22, 2024 1

II'd probably try using the compiler API 👍🏻

from typescript-tsserver-plugin-template.

rictic avatar rictic commented on August 22, 2024

I ended up going with just integration testing it inside of VS Code, which is working well, and gives assurance that the entire thing is working end to end. See runem/lit-analyzer#229 and runem/lit-analyzer#232

The only hacky part is that I haven't figured out a clean way to wait for the TS server to come online and begin responding to editor requests, and have resorted to polling until the results look right. Any ideas?

from typescript-tsserver-plugin-template.

rictic avatar rictic commented on August 22, 2024

Update on that: in order to test that the plugin works after packaging, I've added a step to build a vsix file, unzip it outside of the repo dir, and then point @vscode/electron at that. This caught a tricky bug, where due to a dep erroneously being put into developmentDependencies, our plugin was working fine in development but would not boot after packaging. See: runem/lit-analyzer#233

from typescript-tsserver-plugin-template.

Related Issues (4)

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.