Vscode-react-native: React Native intellisense never enabled.

Created on 19 Mar 2016  路  11Comments  路  Source: microsoft/vscode-react-native

I continuously get the when I launch VS code:

React Native intellisense was successfully configured for this project. Restart to enable it.

React 0.21.0
[email protected]
VS Code 0.10.11
VS Code React Native Tools 0.1.2

Any idea on what I might be missing to enable it?

Thanks,
Justin

need-more-info

Most helpful comment

the message did disappear when I run Visual Studio Code setting VSCODE_TSJS to 1

VSCODE_TSJS=1 code .

Maybe it is related to #143

All 11 comments

What OS are you using? How are you closing and restarting VS Code? On OS X in particular you will need to completely quit VS Code (Cmd+Q), not just the open window, but the app itself.

Closing due to lack of feedback, if you're still having this issue feel free to reopen the thread.

image

I got this issue too. When I restart system and launch VS Code. The message pop up.

On OSX 10.11.4
image

@lihuazhang what version of VS Code are you using? Are you completely exiting out of VS Code before restarting it (cmd+Q)?

@hamiltonia 1.0.0 (1.0.0). This only happens when I restart OSX and launch the Code for the first time.

Is there any log file that can target the issue?

the message did disappear when I run Visual Studio Code setting VSCODE_TSJS to 1

VSCODE_TSJS=1 code .

Maybe it is related to #143

The same problem on Debian Linux. Installed code from Debian package. Complains every time. Tthe enviroment variable hint helped.

Same here. "code ." then

React Native intellisense was successfully configured for this project. Restart to enable it.

Regardless of how many time you restart - it will come again. VSCODE_TSJS=1 provokes an error message on first start but seems to work somehow. But what the hell is this??

EDIT: Some voodoo to enable JSX I suppose

This is a remnant from supporting earlier versions of VS Code, and we're working on a fix for it. The VSCODE_TSJS environment variable was for opting in to a then-experimental different way of providing intellisense (which understood jsx, among other things) but it is no longer needed.

Yes, thanks. Found the meaning by myself already. But it is still helpful. Using latest code insider.

In the currently published version with up-to-date versions of vscode this environment variable should no longer be checked for or set.

Was this page helpful?
0 / 5 - 0 ratings