An open API service indexing awesome lists of open source software.

https://github.com/ton-community/vscode-func

FunC syntax highlighting and code completion for VS Code.
https://github.com/ton-community/vscode-func

func ton vscode

Last synced: 8 months ago
JSON representation

FunC syntax highlighting and code completion for VS Code.

Awesome Lists containing this project

README

          

# 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](https://github.com/ton-blockchain/TIPs/issues/83))
- [ ] 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](https://github.com/ton-society/ton-footsteps/issues/18) 🚀
Added new FunC syntax, formatter and improved completion. Find more at [changelog](./CHANGELOG.md).

#### **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.