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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists