Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Programming Languages>Igor ProNew to Visual Studio Code? Get it now.

Igor Pro

fujidana

|
44 installs
| (0) | Free
Igor Pro support for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Igor Pro Extension for Visual Studio Code

The extension helps you editing Igor procedure files (*.ipf).

The author of this extension is just a Igor Pro user and has no more relation with Wavemetrics, Inc., which develops Igor Pro itself. Use GitHub issues for bug reports and feature requests about this extension.

The textual contents of the IntelliSens code hints are cited from the official manual (manual revision: June 24, 2022 (9.01)) and command helps (application version: 9.01 (Build 39200)) in the in-app help browser.

Features

  • basic linguistic support for editing - comment toggling, indentation adjustment, etc.
  • syntax highlighting - colorizing symbols using a grammer
  • IntelliSens - code completion and hinting
    • hovers
    • code completion proposals - autocompletion that works during a user types a symbol
      • code snippets - templates that make it easier to enter repeating code patterns, such as loops and conditional-statements
    • Help with function signatures - help that appears during a user types an argument in a function call
  • Code navigation
    • Symbol navigation inside a document - available from Go to Symbol in Editor (Ctrl+Shift+O) menubar item and the navigation bar at the top the editor pane (aka breadcrumbs)

Currently IntelliSense features only support built-in symbols; it does not cover functions and variables in a user's procedure file.

Known Issues

Code Helps not complete

Code hinting database currently lacks descriptive messages of most symbols (See Issue #1). Contribution to the point is very welcome.

Restricted Behaviors of Indentation Adjustment

While Igor Pro procedure is case-insensitive, the indentation adjustment feature of VS Code works based on a case-insensitive pattern matching. Also, it does not work perfectly on switch and strswitch flow controls. They are due to the limitation of the indentation adjustment feature of VS Code. See Language Configuration Guide / Indentation Rules.

Limitations of Syntax Highlighting

While Igor Pro allows function declarations which span several lines, this extension can not colorize them properly, owing to the limitation of the syntax highlithing grammer of VS Code. It is recommended to declare functions in a single line.

// multi-line definition appeared in IgorMan.pdf, not colorized properly
Function Example2(
    Variable a, // The comma is optional
    [
        Variable b,
        double c
    ]
    )
    Print a,b,c
End

// single-line definition, colorized properly
Function Example2(Variable a, [Variable b, double c])
    Print a,b,c
End
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft