Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TS 2.9 refactorings: Rename file, move declaration to new file #137

Open
Chris2011 opened this issue Jun 1, 2018 · 6 comments
Open

Comments

@Chris2011
Copy link

Chris2011 commented Jun 1, 2018

Hey, please update NBTS to using TypeScript 2.9. Thx

Cheers

Chris

@Chris2011
Copy link
Author

Thx, but I thought, that the new editor features of the LSP from TS, are also implemented too. Like move code to new file, or rename file and change every references, etc.: https://blogs.msdn.microsoft.com/typescript/2018/05/31/announcing-typescript-2-9/#rename-move-file

Generate get and set, is working well.

Cheers

Chris

@Chris2011
Copy link
Author

I can create new tickets, if you want.

@jeffrey-easyesi jeffrey-easyesi changed the title Update to TypeScript 2.9 Support TS 2.9 refactorings: Rename file, move declaration to new file Jul 11, 2018
@negora
Copy link

negora commented Jun 2, 2020

Is there any plan to support this useful feature?

The last commit in this project was on July 2018, so I guess that the project is stalled. Am I right? If so, Is it because the new way of coding with TypeScript, in NetBeans IDE, is by using an external LSP, such as sourcegraph/javascript-typescript-langserver ?

Thank you for this fantastic plug-in.

@Chris2011
Copy link
Author

IMHO, this plugin has no business value anymore for the developers and/or they don't have time anymore. Anyway, the TypeScript support was implemented just few months ago. Atm the moment the TypeScript implementation lacks some features behind this plugin. If those will be fixed, there is no need for this plugin anymore here.

@negora
Copy link

negora commented Jun 2, 2020

@Chris2011 Some weeks ago I noticed an extra TypeScript plug-in in the list of installed plug-ins, in NetBeans 11.3. I guess you're referring to that one. I disabled Nbts for a moment, restarted and tried it. But there wasn't syntax highlighting, so I decided to turn Nbts on again. I'll try to track its evolution.

Do you know whether that new plug-in uses LSP? LSP is like the Holy Grail to me, but NetBeans IDE seems to lack documentation about how it's integrated. I've also noticed a new menu in ToolsOptionsEditorLanguage Servers.

@Chris2011
Copy link
Author

The extra plugin is the core module TypeScript which uses Textmate lexer for syntax highlighting and LSP for that so syntax highlighting should work. Yes new languages can be handled via the options Language Server. You need a name, an icon, a textmate file and the executable for the LS.Yes, LSP is used now more often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants