Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Julia DocStringsNew to Visual Studio Code? Get it now.
Julia DocStrings

Julia DocStrings

Ronan Arraes Jardim Chagas

|
6 installs
| (0) | Free
Create docstrings for objects in Julia language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Julia DocStrings for VS Code


This package contains a simple extension to provide a skeleton of docstring for some objects in Julia language.

Features

We currently support the following objects:

  • Functions.
  • Macros.

Usage

First, select the declaration of the function you desire to add the docstring. After that, open the Command Pallete (Cmd+Shift+P or Ctrl+Shift+P) and execute the action Insert Julia Documentation. The docstring will be placed above the selected declaration as a snippet where you can fill the descriptions.

Examples

By applying this action when the following text is selected:

function my_function(x::Int, y::Int, z::Int = 3; verbose::Bool = false)

The following docstring will be added:

"""
    my_function(x::Int, y::Int, z::Int = 3; kwargs...) -> <Return type>

<Description of the function>

# Arguments

- `x::Int`: <Argument description>
- `y::Int`: <Argument description>
- `z::Int`: <Argument description>
    (**Default**: `3`)
# Keywords

- `verbose::Bool`: <Keyword description>
    (**Default**: `false`)
"""

where all the text between <> represent the VS Code snippet placeholders.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft