Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chouzz/vscode-innosetup

Language syntax, snippets and build system for Inno Setup
https://github.com/chouzz/vscode-innosetup

Last synced: 7 days ago
JSON representation

Language syntax, snippets and build system for Inno Setup

Awesome Lists containing this project

README

        

> This is a fork version of [idleberg/vscode-innosetup](https://github.com/idleberg/vscode-innosetup)! Thanks @idleberg!

# Inno Setup for Visual Studio Code

[![The MIT License](https://flat.badgen.net/badge/license/MIT/orange)](http://opensource.org/licenses/MIT)
[![GitHub](https://flat.badgen.net/github/release/chouzz/vscode-innosetup)](https://github.com/chouzz/vscode-innosetup/releases)
[![Visual Studio Marketplace](https://vsmarketplacebadges.dev/installs-short/Chouzz.vscode-innosetup.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=Chouzz.vscode-innosetup)
[![GithubActions](https://github.com/chouzz/vscode-innosetup/actions/workflows/CI.yaml/badge.svg)](https://github.com/chouzz/vscode-innosetup/actions/workflows/CI.yaml/badge.svg)

Language syntax, snippets and build system for Inno Setup

## Features

- Syntax Highlighting
- Snippets
- Build Inno Setup Script via VSCode tasks
- Highlighting building errors and warnings
- On hover information

You need install [Pascal extension](https://marketplace.visualstudio.com/items?itemName=alefragnani.pascal) to highlight `Pascal` language in **[Code]** section

*Screenshot of Inno Setup in Visual Studio Code*

![Screenshot](https://raw.githubusercontent.com/chouzz/vscode-innosetup/master/images/screenshot.png)
## Installation

### Extension Marketplace

Launch Quick Open, paste the following command, and press Enter

`ext install chouzz.vscode-innosetup`

### CLI

With [shell commands](https://code.visualstudio.com/docs/editor/command-line) installed, you can use the following command to install the extension:

`$ code --install-extension chouzz.vscode-innosetup`

### Packaged Extension

Download the packaged extension from the the [release page](https://github.com/chouzz/vscode-innosetup/releases) and install it from the command-line:

```bash
$ code --install-extension path/to/innosetup-*.vsix
```

## Usage

### Building

Before you can build, make sure `ISCC` is in your PATH [environmental variable](https://support.microsoft.com/en-us/kb/310519). Alternatively, you can specify the path to `ISCC` in your [user settings](https://code.visualstudio.com/docs/customization/userandworkspace).

**Example:**

```json
"innosetup.pathToIscc": "full\\path\\to\\ISCC.exe"
```

*Note: If you're on non-Windows, you could specify the path to this [bash script](https://gist.github.com/derekstavis/8288379), which runs `ISCC` on Wine.*

To trigger a build, you can selcect *Terminal*, run task *innosetup*, it will highlighting errors and warnings after building, or you can use *InnoSetup: Save & Compile* command from the [command-palette](https://code.visualstudio.com/docs/editor/codebasics#_command-palette) or use the default keyboard shortcut Shift+Alt+B.

## Issues/Contribution

If you've found a bug, please file at .

If you'd like to help out, fork the [repo](https://github.com/chouzz/vscode-innosetup) and submit pull requests.

## License

This work is licensed under [The MIT License](https://opensource.org/licenses/MIT)