JavaScript Service has been disabled - please help

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

JavaScript Service has been disabled - please help

Postby julpalt » February 6th, 2018, 12:43 pm

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.
}
}
julpalt
 
Posts: 1
Joined: February 6th, 2018, 12:09 pm

Re: JavaScript Service has been disabled - please help

Postby maros.beno » February 13th, 2018, 3:17 pm

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.
Maroš Beňo
User avatar
maros.beno
 
Posts: 15
Joined: October 12th, 2016, 12:11 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger