Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onerbs/sublime-v
Sublime Text support for the V Programming Language
https://github.com/onerbs/sublime-v
sublime-build sublime-syntax sublime-text sublime-text-4 v vlang
Last synced: 3 months ago
JSON representation
Sublime Text support for the V Programming Language
- Host: GitHub
- URL: https://github.com/onerbs/sublime-v
- Owner: onerbs
- License: mit
- Created: 2020-05-10T13:21:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-04T10:17:20.000Z (about 1 year ago)
- Last Synced: 2024-05-06T11:31:51.096Z (6 months ago)
- Topics: sublime-build, sublime-syntax, sublime-text, sublime-text-4, v, vlang
- Language: Python
- Homepage:
- Size: 175 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-v - sublime-v - Fully-featured Sublime Text 3 package for the V Programming Language. (Other / Editor plugins)
README
# Sublime V
Sublime Text support for [The V Programming Language](https://vlang.io)
## Features
- Syntax highlighting
- Build system
- `Run` (default action for `*.v` files)
- `Test` (default action for `*_test.v` files)
- `Compile`
- `Compile (production)`
- `Compile (skip unused)`
- `Test project`
- `Format file`
- `Format project`
- `Vet file`
- `Vet project`
- `Profile`### Magic directories
This is a list of special directory names that have a particular behavior when
you compile source files directly inside them, i.e. the output binary file
will be placed inside a folder named `bin` at the same level as the magic dir.Imagine you have `src` in the list, and the following project:
src/
└─ some.vWhen you compile `some.v`, you will end up with the resulting tree:
src/
└─ some.v
bin/
└─ someEdit the list as you prefer under:
Preferences > Package Settings > V > Settings
## Installation
Navigate into the Sublime Text `Packages` directory and clone the repository:
git clone https://github.com/onerbs/sublime-v V
> Open the packages folder using `Preferences: Browse Packages` from the command palette.