JavaScript Service has been disabled - please help
2 posts
• Page 1 of 1
JavaScript Service has been disabled - please help
Hello!
I have a problem with JavaScript services in devsense
1. Loaded OpenEMR project from the Web http://www.open-emr.org/. It is php /mysql project
2. VS 2017 professional with DevSense is on my computer
3. Created New "Project from existing codes" in DevSense php extension
4. Got message at the top of the screen "The JavaScript language service has been disabled for project openEMR
5. Added tsconfig.json to the root directory - see below:
6. Got message at the top of the screen:"The JavaScript language service has been disabled for project onenEMR/tsconfig"
{
"compilerOptions": {
"allowJs": true, // include .js and .jsx in project context (defaults to only .ts and .tsx)
"noEmit": true // turns off downlevel compiler
},
"typeAcquisition": {
"enable": true // Defaulted to "false" with a tsconfig. Enables better IntelliSense in JS.
}
}
I have a problem with JavaScript services in devsense
1. Loaded OpenEMR project from the Web http://www.open-emr.org/. It is php /mysql project
2. VS 2017 professional with DevSense is on my computer
3. Created New "Project from existing codes" in DevSense php extension
4. Got message at the top of the screen "The JavaScript language service has been disabled for project openEMR
5. Added tsconfig.json to the root directory - see below:
6. Got message at the top of the screen:"The JavaScript language service has been disabled for project onenEMR/tsconfig"
{
"compilerOptions": {
"allowJs": true, // include .js and .jsx in project context (defaults to only .ts and .tsx)
"noEmit": true // turns off downlevel compiler
},
"typeAcquisition": {
"enable": true // Defaulted to "false" with a tsconfig. Enables better IntelliSense in JS.
}
}
- julpalt
- Posts: 1
- Joined: February 6th, 2018, 12:09 pm
Re: JavaScript Service has been disabled - please help
Hi,
this JavaScript language service is part of Visual Studio. My guess is that OpenEMR project is too big for it to handle it. I think you can try to specify only certain javascript files in tsconfig, so this service can handle it. I'm afraid we can't do anything about this in PHP Tools.
this JavaScript language service is part of Visual Studio. My guess is that OpenEMR project is too big for it to handle it. I think you can try to specify only certain javascript files in tsconfig, so this service can handle it. I'm afraid we can't do anything about this in PHP Tools.
Maroš Beňo
-
maros.beno - Posts: 62
- Joined: October 12th, 2016, 12:11 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 127 guests