Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.16 KB

README.md

File metadata and controls

71 lines (47 loc) · 2.16 KB

FunC Language Support for VS Code

This extension enables support for FunC in VS Code.

Features

Syntax highlighting

Symbols search

Press Cmd+Shift+O to locate through symbols in file.

Completion

Get contextual completion hints while typing. Extension shows functions defined in workspace, global and local variables.

Definitions

View definitions for function or global variable using Cmd+Click.

Formatting

Format code using Cmd+Option+F

Building & running

  1. install deps using yarn install
  2. run yarn watch in terminal
  3. use debug menu in VS Code to test extension

What to improve?

  • Add project configuration file parsing (discussion of standard is here)
  • Work with includes like compiler, use entrypoints from project configuration
  • Add compiler built-ins to known definitions
  • Highlight unknown identifiers as errors
  • Uncover var and hole types like compiler does

Release Notes

1.1.0

Added CodeLens for numeric string literals.

1.0.1

Hotfix language server crash.

1.0.0

Large release supported by ton-society 🚀 Added new FunC syntax, formatter and improved completion. Find more at changelog.

0.2.2

Fixed autocomplete with function arguments, minor highlighting bugs.

0.2.1

Added snippets for recv_external, recv_internal, supported_interfaces.

0.2.0

Fixed bugs related with paths in Windows, fixed completion after "." and "~", added definitions.

0.1.0

Added symbols search & completion.

0.0.3

Some minor improvements.

0.0.2

Small highlighting fixes.

0.0.1

Draft release, highlighting & basic code snippets.