https://github.com/renanmsv/ac3d-syntax-vscode
Basic syntax highlighting and snippets for AC3D files
https://github.com/renanmsv/ac3d-syntax-vscode
ac3d flightgear visual-studio-code vscode-extension
Last synced: 28 days ago
JSON representation
Basic syntax highlighting and snippets for AC3D files
- Host: GitHub
- URL: https://github.com/renanmsv/ac3d-syntax-vscode
- Owner: RenanMsV
- License: gpl-3.0
- Created: 2019-08-21T20:16:24.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-10-19T22:35:41.000Z (5 months ago)
- Last Synced: 2025-10-22T19:49:13.644Z (5 months ago)
- Topics: ac3d, flightgear, visual-studio-code, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=Renan-MsV.ac3d-syntax
- Size: 402 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AC3D Syntax and Snippets for Visual Studio Code
[](https://github.com/RenanMsV/ac3d-syntax-vscode)
[](https://marketplace.visualstudio.com/items?itemName=Renan-MsV.ac3d-syntax)
[](https://marketplace.visualstudio.com/items?itemName=Renan-MsV.ac3d-syntax)
[](https://marketplace.visualstudio.com/items?itemName=Renan-MsV.ac3d-syntax)
[](https://github.com/RenanMsV/ac3d-syntax-vscode/tree/main/.github/workflows)
[](http://www.gnu.org/licenses/gpl-3.0.en.html)
[](https://marketplace.visualstudio.com/items?itemName=Renan-MsV.ac3d-syntax)
[](https://open-vsx.org/extension/Renan-MsV/ac3d-syntax)
Basic LSP, syntax highlighting and snippets for [AC3D files](https://inivis.com). Supports AC3Db and AC3Dc file formats.
AC3D is mostly used for making 3d models of aircrafts and buildings for [X-Plane](https://www.xcrafts.com/tutorial-ac3d-blender-to-x-plane) and [FlightGear](https://wiki.flightgear.org/AC3D_file_format) flight simulators.
The AC3D file format is ascii text and is very simple to parse. It's also very easy to generate AC3D files from your own data. This extension highlights the structure of AC3D files. AC3D filenames usually have a '.ac' suffix.
## Features
**Hover Information**: Hover over elements to instantly view detailed information.

**Color Picker**: Quickly customize material colors using an intuitive color selection tool.

**Link Provider**: Easily locate and open texture files referenced in the 3D model by holding **CTRL** and clicking the link.

**Folding Provider**: Organize your workspace efficiently by folding and unfolding element groups.

## The AC3D file format:
```php
AC3Db
MATERIAL %s rgb %f %f %f amb %f %f %f emis %f %f %f spec %f %f %f shi %d trans %f (used in AC3Db)
MAT %s (this block used in AC3Dc)
rgb %f %f %f
amb %f %f %f
emis %f %f %f
spec %f %f %f
shi %d
trans %f
data %d
lines of data
ENDMAT
OBJECT %s
*name %s
*data %d
*data lines of %s
*texture %s
*texrep %f %f
*texoff %f %f
*subdiv %d
*crease %f
*rot %f %f %f %f %f %f %f %f %f
*loc %f %f %f
*url %s
*hidden
*locked
*folded
*numvert %d
numvert lines of %f %f %f
*numsurf %d
*SURF %d
*mat %d
refs %d
refs lines of %d %f %f
kids %d
```
## More info:
*
*
## For extension developers
To build the extension, first run `npm install` to install all development dependencies.
Then run `npm run package` and it will compile, lint, test, and package the extension into a .vsix file located in the root folder.