Giter Site home page Giter Site logo

expectfun / vscode-func Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ton-community/vscode-func

0.0 0.0 0.0 1.71 MB

FunC syntax highlighting and code completion for VS Code.

License: GNU General Public License v3.0

JavaScript 2.58% C++ 0.16% Scheme 0.25% Python 0.07% C 83.82% Rust 0.62% TypeScript 12.50%

vscode-func's Introduction

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.

vscode-func's People

Contributors

dvlkv avatar damianzim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.