Giter Site home page Giter Site logo

Comments (13)

dmmulroy avatar dmmulroy commented on June 3, 2024 4

Hey thanks for the feedback and issue, you aren't the first to request this - it's heard and I'm planning on working on that early this week 🚀

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024 2

Super appreciative of the plugin! I've been waiting for something like this for a long time. Hopefully in the long run we can get it from the language server, but this is a great step forward in the meanwhile.

PS - totally unrelated, but in case anyone wants to have the results automatically open in Trouble: folke/trouble.nvim#70 (comment)

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024 1

Awesome! Happy to help test when the time comes. Thank you!

from tsc.nvim.

dmmulroy avatar dmmulroy commented on June 3, 2024 1

Super appreciative of all feedback, support, and help 🙏

from tsc.nvim.

ecosse3 avatar ecosse3 commented on June 3, 2024 1

@dmmulroy It works great now, thanks!

from tsc.nvim.

dmmulroy avatar dmmulroy commented on June 3, 2024

Hey @mmirus - the fix/feature should be merged into main and should work. Wanna give it a test run?

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024

It finds the local binary now. TY!

I did have this weird experience with the notifications, where it showed many of them instead of a single one that updates. I'll see if I can pinpoint anything in my config that causes it / a way to fix it, and if not I'll open a new issue.

Thank you again for for the quick work on this one!

from tsc.nvim.

ecosse3 avatar ecosse3 commented on June 3, 2024

@dmmulroy I have this issue now and I am unable to run TSC command in Neovim v0.10.

.local/share/nvim/lazy/tsc.nvim/lua/tsc.lua:71: attempt to call field 'get_tsc_cmd' (a nil value)

I have node_modules/.bin/tsc:

◌ tsc ➛ node_modules/typescript/bin/tsc

TSC Version 4.9.5

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024

From a quick glance it looks like it can't find the get_tsc_cmd method from the utils module, not like it can't find the tsc binary. But you would think that if it has the new code that calls get_tsc_cmd, you would also have the new utils file. Maybe some weird caching thing or something? Just spitballing.

from tsc.nvim.

ecosse3 avatar ecosse3 commented on June 3, 2024

@mmirus @dmmulroy Yeah, that looks super weird. I reviewed code and it looks fine. Can it be an issue that in my nvim lua config I have file names utils? So it conflicts with plugin? I am not sure. Maybe pcall should be made on require? After I reverted to the previous commit it works again:

lazy.nvim

{
  "dmmulroy/tsc.nvim",
  cmd = "TSC",
  commit = "80c1839071443a7139cd8e1c93c6f78e35e5cf8f",
  config = true
},

from tsc.nvim.

dmmulroy avatar dmmulroy commented on June 3, 2024

@mawkler's PR #8 hopefully resolves the utils issue. Try updating to main and see if that worked.

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024

Oh yeah, that could do it! 🤞

from tsc.nvim.

mmirus avatar mmirus commented on June 3, 2024

PS - this still works for me after pulling in the changes from #8.

from tsc.nvim.

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.