You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2023/01/17 19:11:37 UTC
[GitHub] [netbeans] Chris2011 opened a new issue, #5306: LSP hint for install typescript type definition files in TypeScript file is not working
Chris2011 opened a new issue, #5306:
URL: https://github.com/apache/netbeans/issues/5306
### Description
If you have this piece of TypeScript code and not installed @types/lodash, NetBeans shows an editor hint, which seems to come from the LSP with message: "Install '@types/lodash". When I hit enter, nothing happens, so it should do an npm i as mentioned in the hint.
```
import {
trim
} from 'lodash';
export default (sql: string): string => {
let formattedSql: string;
formattedSql = sql
.replace(/\n/g, ' ')
.replace(/\t/g, ' ')
.replace(/ +/g, ' ');
formattedSql = trim(formattedSql);
return formattedSql;
};
```
### Use case/motivation
Using the feature which is already shown
### Related issues
_No response_
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] Chris2011 commented on issue #5306: LSP hint for install typescript type definition files in TypeScript file is not working
Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #5306:
URL: https://github.com/apache/netbeans/issues/5306#issuecomment-1385922477
Sry I changed the Yes/no for pull request to maybe :D. I will have a look at it and if I can handle it, I will create a PR. If yes will the answere here at the end, than change it back to yes. But if someone else knows it best, just do it, I'm not working on it currently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists