Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>doraemon-intellisenseNew to Visual Studio Code? Get it now.

doraemon-intellisense

doraemon

|
1,189 installs
| (0) | Free
语言感知
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Doraemon

Features

Syntax highlighting

  • Supports .robot files
  • Can be added for .txt files using the files.associations setting:
"files.associations": {
    "*.txt": "robot"
}

Goto definition

  • For variables
  • For user keywords
  • F12 on Mac, Linux and Windows

Find all references

  • For user keywords
  • ⇧F12 on Mac, Shift+F12 on Linux and Windows

List file symbols

  • Shows variables, keywords and test cases
  • ⇧⌘O on Mac, Ctrl+Shift+O on Linux and Windows

List workspace symbols

  • Shows variables, keywords and test cases
  • ⌘T on Mac, Ctrl+T on Linux and Windows

Highlight All Occurrences of a Symbol in a Document

  • Highlights all occurrences of a variable, keyword or setting
  • Move the cursor to a variable, keyword or setting

Show Code Completion Proposals

  • Suggests user keywords and variables
  • ⌃Space on Mac, Ctrl+Space on Linux and Windows

Code Completion for Standard Library Keywords

  • Code completion for keywords in the standard libraries, like BuiltIn and String
  • Requires configuration for which libraries are suggested with rfLanguageServer.libraries setting. E.g.
"rfLanguageServer.libraries": [
  "BuiltIn-3.0.4"
]
  • See a list of all available libraries here

Code Completion for Any 3rd Party Library

  • See defining 3rd party libraries

Support for python keywords

  • Keywords defined in .py files are also included
  • Requires that the .py files are included with rfLanguageServer.includePaths setting. E.g.
"rfLanguageServer.includePaths": [
  "**/*.robot",
  "**/*.py"
]

Configuration

By default all .robot files are parsed. This can be configured using parameters. (see Code > Preferences > Workspace Settings).

|param | description | |---------------------------------|--------------------------| | rfLanguageServer.includePaths | Array of glob patterns for files to be included| |rfLanguageServer.excludePaths| Array of glob patterns for files to be excluded| |rfLanguageServer.logLevel| What information of the language server is logged in the Output. Possible valuesoff,errors,info,debug| |rfLanguageServer.trace.server| what information of the communication between VSCode and the rfLanguageServer is logged to the Output. Possible valuesoff,messages,verbose| |rfLanguageServer.libraries` | What libraries' keywords are suggested with code completion. Can be a name of a standard library (see Supported standard libraries) or a library definition (see defining 3rd party libraries) or a combination of them. |

The includePaths and excludePaths properties take a list of glob-like file patterns. Even though any files can be matched this way, only files with supported extensions are included (i.e. .robot, .txt, and .py).

If the includePaths is left unspecified, the parser defaults to including all .robot files in the containing directory and subdirectories except those excluded using the excludePaths property.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft