FAQ

What files does the P42 JavaScript Assistant support?

The JavaScript Assistant supports JavaScript, TypeScript, React and Vue.js files:

  • Files with an .js, .jsx, .cjs, and .mjs extension are supported JavaScript sources.
  • Files with an .ts, .tsx, .cts, and .mts extension are supported TypeScript sources.
  • All JavaScript files and TypeScript files with the .tsx extension can contain JSX (React).
  • Support for working with .vue files (Single File Components) is included in P42 Pro.

Does P42 support Flow type annotations?

No. P42 supports plain JavaScript, JSX and TypeScript.

Does P42 analyze my code in the P42 cloud?

No. When you use the P42 JavaScript Assistant for VS Code, your source code remains on your machine and all P42 code analysis happens on your machine. No code or other data is transferred to the P42 cloud service by the P42 JavaScript Assistant.

How can I disable a refactoring / suggestions?

You can disable them by adding a section in the p42.config.toml configuration file or by disabling them in the Visual Studio Code settings. Learn more in the configuration section.

How can I report bugs or feature suggestions?

Please use the P42 JavaScript Assistant issue tracker.

What known problems and workarounds exist?

  • On vscode.dev, the P42 License Panel is not available. As a workaround, you can enter your P42 Pro License key by triggering a mass refactoring in the context menu.
  • On vscode.dev, changes to p42.toml are not immediately reflected in your editor. You need to refresh the browser tab.

Quick Navigation