Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliSense not working in React Native stylesheet after first item

I am using VSCode (1.34.0) + Flow (Flow Language Support: 1.1.1, Flow Language Client: 0.2.1) (switched to Typescript but still having the same error) Typescript 3.4.5 on my React Native project.

When I start typing a style property, it completes the first property with no problem, then when I start typing the second style property, it doesn't complete:

quick demo

What am I doing wrong?

UPDATE: My (relevant) enabled extensions are:

  • Babel JavaScript 0.0.22,
  • Flow Language Support: 1.1.1,
  • Flow Language Client: 0.2.1,
  • npm Intellisense 1.3.0,
  • Prettier - Code formatter 1.8.1,
  • React Native Tools 0.9.3.
like image 927
Can Poyrazoğlu Avatar asked Apr 18 '19 07:04

Can Poyrazoğlu


People also ask

Why is my IntelliSense not working?

Troubleshooting. If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.

How do I enable autocomplete in Visual Studio?

The suggestion list of Automatic completion appears as soon as you start typing a new identifier. The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space .


1 Answers

Weird. I have no idea why. I totally forgot about this issue after installing many plugins and Vscode updates.

I don't know what was causing it but now on TypeScript 3.5.2/Vscode 1.36.1 with many plugins disabled, it works perfectly now.

like image 52
Can Poyrazoğlu Avatar answered Oct 01 '22 18:10

Can Poyrazoğlu