Comments (13)
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.
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.
Awesome! Happy to help test when the time comes. Thank you!
from tsc.nvim.
Super appreciative of all feedback, support, and help 🙏
from tsc.nvim.
@dmmulroy It works great now, thanks!
from tsc.nvim.
Hey @mmirus - the fix/feature should be merged into main and should work. Wanna give it a test run?
from tsc.nvim.
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.
@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.
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.
@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.
@mawkler's PR #8 hopefully resolves the utils issue. Try updating to main
and see if that worked.
from tsc.nvim.
Oh yeah, that could do it! 🤞
from tsc.nvim.
PS - this still works for me after pulling in the changes from #8.
from tsc.nvim.
Related Issues (20)
- Running again should replace existing panel HOT 3
- Bug: tsc.nvim not working in monorepos HOT 14
- Errors with LazyVim nvim-notify configuration HOT 8
- qflist sending to empty buffers HOT 2
- Feature Request: Watch Mode HOT 5
- Fallback to :make command HOT 4
- Does tsc.nvim support pnpmt HOT 8
- vue-tsc or tsc binary path option support HOT 4
- tsc was not available or found in your node_modules or $PATH. Please run install and try again. HOT 18
- --incremental flag HOT 1
- tsconfig.base.json HOT 10
- suggestion -- prettier.nvim and eslint.nvim HOT 1
- Monorepo TSConfig Discovery HOT 5
- Per project configuration? HOT 1
- Unsure where to put this but for those of us using NX, you need a custom matcher for tsConfig.base.json and tsConfig.app.json HOT 1
- use also lsp tsserver for diagnostics HOT 2
- Allow for callback on set qflist
- Add callback to qflist opened HOT 7
- Ability to init with raw command instead of flags HOT 6
- TSC command returns no errors on Windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsc.nvim.