Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>F2 LanguageNew to Visual Studio Code? Get it now.
F2 Language

F2 Language

cBrain F2

|
330 installs
| (1) | Free
Language support for F2 Process configuration documents.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

F2 Language

Language support for F2 customer solutions. The language server provides diagnostics, code completion and other language features specific to F2 solutions.


Diagnostics

Inline errors, warnings or information that highlight mistakes, bad practices or depricated features. Hover over the marked word to see the related description.

Diagnostics example


Code completion

Valid values are provided in a dropdown, either when expected (writing an attribute) or by request (default keybind: ctrl+space).

Code completion example


Go to definition

Quickly navigate to the definition of a reference. For instance, the Property definition of a DataField name reference, or the Record type definition of a List type reference (default keybind: F12).

Code completion example


Show references

Find all references to a definition. For instance, find all Fields that use the type you are looking at, or find all DataFields in the layout that refers to the Field (default keybind: Shift+F12)

Code completion example


Hover information

Hovering over a reference will now show a summary of the definition. For Properties this includes the type, title, visible- and value expressions. For customer.config placeholders, this includes description and environment values.

Code completion example


Code actions

Code action can provide quick fixes to issues in the file. A depricated element can be converted to the new solution. Incorrect or misguided implementations can be changed to use the standard structure.

Code completion example


Settings

  • f2.language.completion.enableCompletion: Enable code completion.
  • f2.language.diagnostics.showErrors: Show errors from F2 Language Server.
  • f2.language.diagnostics.showWarnings: Show warnings from F2 Language Server.
  • f2.language.diagnostics.showInformations: Show informations from F2 Language Server.
  • f2.language.diagnostics.showHints: Show hints from F2 Language Server.
  • f2.language.diagnostics.disableDiagnostics: Disable specific diagnostics based on diagnostic codes.
  • f2.language.goto.enableGoToDefinition: Enable go to definition.
  • f2.language.goto.enableGoToReferences: Enable go to references.
  • f2.language.hover.enableHover: Enable hover.
  • f2.language.codeActions.enableCodeActions: Enable code actions.
  • f2.language.trace.server: Traces the communication between VSCode and the F2 Language Server.
  • f2.language.excludeFolders: Exclude folders from initialization.
  • f2.language.debounce: Set debounce time for server reacting on client input.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft