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.
- Host: GitHub
- URL: https://github.com/ton-community/vscode-func
- Owner: ton-community
- License: gpl-3.0
- Created: 2022-03-28T17:38:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T11:44:51.000Z (over 1 year ago)
- Last Synced: 2025-04-04T11:20:37.051Z (12 months ago)
- Topics: func, ton, vscode
- Language: C
- Homepage:
- Size: 2.15 MB
- Stars: 31
- Watchers: 3
- Forks: 17
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.