Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TeloceNew to Visual Studio Code? Get it now.
Teloce

Teloce

Flaxon-vscode

| (0) | Free
Teloce template language support for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Teloce VS Code Extension

Teloce template language support for Visual Studio Code.

The Teloce VS Code extension provides language support and developer tooling for Teloce templates (.vel files), including syntax highlighting, diagnostics, autocomplete, formatting, snippets, and debugger integration.


Features

  • 🔍 Syntax Highlighting — Full syntax highlighting for Teloce templates.
  • 📋 Diagnostics — Real-time validation and error detection.
  • 💡 Autocomplete — Smart completions for directives, events, bindings, and variables.
  • 📝 Hover Information — Documentation and information on hover.
  • 🎨 Formatting — Automatically format Teloce templates.
  • 🧩 Snippets — Useful snippets for common Teloce patterns.
  • 📊 Symbol Support — Document outline and component symbols.
  • 🐛 Debugger Integration — Open and inspect applications using the Teloce debugger.

Installation

From the VS Code Marketplace

  1. Open Visual Studio Code.
  2. Press Ctrl+Shift+X on Windows/Linux or Cmd+Shift+X on macOS.
  3. Search for Teloce.
  4. Click Install.

From a VSIX File

code --install-extension teloce-vscode.vsix

Usage

Creating a .vel File

Create a new file with the .vel extension:

<!-- Component.vel -->
<template>
  <div class="card">
    <h2>{{ title }}</h2>
    <p>{{ content }}</p>
    <button @click="handleClick">Click me</button>
  </div>
</template>

<script>
export default {
  name: 'MyComponent',

  data() {
    return {
      title: 'Hello World',
      content: 'This is a Teloce component'
    };
  },

  methods: {
    handleClick() {
      alert('Clicked!');
    }
  }
};
</script>

<style scoped>
.card {
  padding: 20px;
  border: 1px solid #ccc;
}
</style>

Once the file is opened, the extension automatically provides Teloce language features.


Commands

Command Description Keybinding
teloce.format Format a Teloce template Shift+Alt+F
teloce.validate Validate the current template —
teloce.openDebugger Open the Teloce debugger —

Settings

Setting Default Description
teloce.format.indentSize 2 Number of spaces used for indentation
teloce.format.useTabs false Use tabs instead of spaces
teloce.validate.enable true Enable template validation
teloce.completion.enable true Enable autocomplete
teloce.debugger.host localhost Teloce debugger host
teloce.debugger.port 9000 Teloce debugger port

Contributing

Development

Clone the repository and install its dependencies:

# Clone the repository
git clone https://github.com/aldane-dev-create/teloce.git

# Enter the repository
cd teloce

# Install dependencies
pnpm install

# Build the project
pnpm build

# Open the VS Code extension package
code packages/vscode-extension

Press F5 in VS Code to launch the extension in an Extension Development Host.


Publishing

Build the Language Service

cd packages/language-service

pnpm build
pnpm publish --access public

Package the VS Code Extension

cd packages/vscode-extension

pnpm build
pnpm vsce package

This generates a .vsix package that can be installed locally or uploaded to the VS Code Marketplace.

Publish to the VS Code Marketplace

First, obtain a Personal Access Token from Azure DevOps.

Then authenticate with vsce:

vsce login teloce

Publish the extension:

pnpm vsce publish

Local VSIX Installation

After creating the VSIX package, install it locally with:

code --install-extension teloce-vscode.vsix

You can also install it through VS Code:

  1. Open the Extensions panel.
  2. Click the ... menu.
  3. Select Install from VSIX....
  4. Select the generated .vsix file.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft