Skip to content

AllanBlanchard/vscode-ocp-indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCP Indent

Features

Provides OCP indent formatting for OCaml.

  • full file formatting
  • selected text formatting

Note that the behavior of the full file formatting can be configured. If:

  • OcpIndent: Global Format Takes Selection

is activated, if some text is selected, the behavior is the same as "selected text formatting". Basically: the same key binding can be used for both actions.

If ocp-indent is not in the environment, the path to the executable can be configured via the option:

  • OcpIndent: Path

Requirements

  • ocp-indent (opam install ocp-indent)

Build package

  • npm install
  • vsce package

About

Provide OCP-Indent in VSCode for Ocaml code formatting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published