Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Failure to scan tsconfig and other file #114

Closed jGauravGupta closed 6 years ago

jGauravGupta commented 6 years ago

If file like tsconfig.json, proxy.conf.json, postcss.config.json, package.json, tsconfig-aot.json, tslint.json, .angular-cli.json, webpack etc available in NetBeans Maven Web Application project root instead of src/main/webapp folder then ts file showing error.

Project View : 11

File View : 22

Sample Project to reproduce the issue : https://drive.google.com/file/d/0B8lO89ZjkGhQYS1COXNtcDRhamc/view

jeffrey-easyesi commented 6 years ago

tsconfig.json currently has to be under a source root: https://github.com/Everlaw/nbts/issues/21

jGauravGupta commented 6 years ago

Can you please provide the support . Code generator tool like jHipster [ sample app ] or Jeddict generates the tsconfig.json inside project root folder. And it should be under project root folder as it contains build information.

jeffrey-easyesi commented 6 years ago

right now nbts assumes that one NetBeans source root = one TS project. I need to decouple these concepts to allow for other layouts like multiple TS projects under one source root, or one TS project across all source roots with tsconfig.json at the NetBeans project root. It'll take some significant rearchitecting though.

jGauravGupta commented 6 years ago

I am representing NetBeans IDE ( + Java EE ) tooling in JavaOne Conf (1st Oct) this year so if this feature is not feasible in this time frame. Can you please provide the feature to disable error icon from ts file . As NetBeans IDE already have support for js or html file to disable error icon.

Chris2011 commented 6 years ago

@jGauravGupta maybe the new release 2.5.3.0 could be solve your problem?