{"id":27721288,"url":"https://github.com/idleberg/atom-language-nsis","last_synced_at":"2026-03-06T23:08:00.732Z","repository":{"id":34619733,"uuid":"38568740","full_name":"idleberg/atom-language-nsis","owner":"idleberg","description":"Atom/Pulsar language support for NSIS, including grammar, snippets and build system","archived":false,"fork":false,"pushed_at":"2026-03-05T21:15:53.000Z","size":7826,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-06T00:57:32.042Z","etag":null,"topics":["atom","atom-autocomplete","atom-syntax","build-tool","language-syntax","nsis","nsis-language"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/language-nsis","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idleberg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"buy_me_a_coffee":"idleberg"}},"created_at":"2015-07-05T12:45:57.000Z","updated_at":"2026-03-05T21:15:57.000Z","dependencies_parsed_at":"2024-03-26T00:33:07.575Z","dependency_job_id":"3b3b1f57-ca56-4a0d-865b-bbeef716cccd","html_url":"https://github.com/idleberg/atom-language-nsis","commit_stats":null,"previous_names":[],"tags_count":302,"template":false,"template_full_name":null,"purl":"pkg:github/idleberg/atom-language-nsis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fatom-language-nsis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fatom-language-nsis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fatom-language-nsis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fatom-language-nsis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idleberg","download_url":"https://codeload.github.com/idleberg/atom-language-nsis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fatom-language-nsis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30202537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atom","atom-autocomplete","atom-syntax","build-tool","language-syntax","nsis","nsis-language"],"created_at":"2025-04-27T10:02:23.067Z","updated_at":"2026-03-06T23:08:00.720Z","avatar_url":"https://github.com/idleberg.png","language":"JavaScript","funding_links":["https://buymeacoffee.com/idleberg"],"categories":[],"sub_categories":[],"readme":"# atom-language-nsis\n\n[![License](https://img.shields.io/github/license/idleberg/atom-language-nsis?color=blue\u0026style=for-the-badge)](https://github.com/idleberg/atom-language-nsis/blob/master/LICENSE)\n[![Release](https://img.shields.io/github/v/release/idleberg/atom-language-nsis?style=for-the-badge)](https://github.com/idleberg/atom-language-nsis/releases)\n[![Downloads](https://img.shields.io/pulsar/dt/language-nsis?style=for-the-badge\u0026color=slateblue)](https://web.pulsar-edit.dev/packages/language-nsis)\n[![CI](https://img.shields.io/github/actions/workflow/status/idleberg/atom-language-nsis/default.yml?style=for-the-badge)](https://github.com/idleberg/atom-language-nsis/actions)\n\nLanguage syntax, auto-completions, formatter and build system for Nullsoft Scriptable\nInstall System (NSIS), as well as language syntax for NSIS Language Files.\n\n![Screenshot](https://raw.github.com/idleberg/atom-language-nsis/master/resources/screenshot.gif)\n\n_Screenshot of NSIS with [Fira Mono](http://mozilla.github.io/Fira/) font \u0026 the\n[Hopscotch](https://web.pulsar-edit.dev/packages/hopscotch) theme_\n\n## Features\n\n- syntax grammar for NSIS and NSIS Language Files (.nlf)\n- auto-complete core NSIS commands, variables and predefines\n- auto-complete core Plugins:\n  - AdvSplash\n  - Banner\n  - BgImage\n  - Dialer\n  - InstallOptions\n  - LangDLL\n  - Math\n  - nsDialogs\n  - nsExec\n  - NSISdl\n  - Splash\n  - StartMenu\n  - System\n  - UserInfo\n  - VPatch\n- auto-complete core libraries (“Useful Headers”):\n  - FileFunc\n  - LogicLib\n  - Memento\n  - Modern UI\n  - MultiUser\n  - Sections\n  - StrFunc\n  - WinMessages\n  - WinVer\n  - WordFunc\n  - x64\n- [Drunken NSIS](#drunken-nsis)\n- [Formatting](#formatting)\n- [Build Tools](#building)\n- [Linting](#linting)\n- [Environment Variables](#environment-variables)\n\nYou can further extend this package with snippets for\n[third-party plug-ins](https://web.pulsar-edit.dev/packages/nsis-plugins).\n\n## Installation\n\n\u003e [!NOTE]\n\u003e\n\u003e The following guide assumes that you're by now using Pulsar, a\n\u003e community-driven fork of the Atom editor. Should you still be using Atom, use\n\u003e `apm` command instead of `ppm`.\n\n### Package Manager\n\nInstall `language-nsis` from the editor's\n[Package Manager](http://flight-manual.atom-editor.cc/using-atom/sections/atom-packages/)\nor the command-line equivalent:\n\n```bash\n$ ppm install language-nsis\n```\n\n### Using Git\n\nChange to your Atom packages directory:\n\n**Windows**\n\n```powershell\n# Powershell\n$ cd $Env:USERPROFILE\\.pulsar\\packages\n```\n\n```cmd\n:: Command Prompt\n$ cd %USERPROFILE%\\.pulsar\\packages\n```\n\n**Linux \u0026 macOS**\n\n```bash\n$ cd ~/.pulsar/packages/\n```\n\nClone repository as `language-nsis`:\n\n```bash\n$ git clone https://github.com/idleberg/atom-language-nsis language-nsis\n```\n\nInside the cloned directory, install its dependencies:\n\n```bash\n$ ppm ci\n```\n\nBuild the source:\n\n```bash\n$ ppm run build\n```\n\n### Package Dependencies\n\nThis package automatically installs third-party packages it depends on. You can\nprevent this by disabling the _Manage Dependencies_ option in the package\nsettings.\n\n## Usage\n\n### Completion\n\nWith most commands, you can specify available options before completion. For\ninstance, rather than completing `RequestExecutionLevel` and then specifying an\noption, you can directly choose `RequestExecutionLevel user` from the completion\nmenu.\n\nTo complete\n[compile time commands](http://nsis.sourceforge.net/Docs/Chapter5.html#),\n[variables](http://nsis.sourceforge.net/Docs/Chapter4.html#varother) or\n[predefines](http://nsis.sourceforge.net/Docs/Chapter5.html#comppredefines),\nmake sure to _omit special characters_ like `!`, `$` and brackets:\n\n- `include` completes to `!include`\n- `INSTDIR` completes to `$INSTDIR`\n- `NSIS_VERSION` completes to `${NSIS_VERSION}`\n\nHowever, you have to type `__LINE__` to complete to `${__LINE__}`.\n\nThere are several special cases for your convenience:\n\n- `MB_OK` completes to `MessageBox MB_OK \"messagebox_text\"`\n- `onInit` completes to a `Function .onInit` block\n- `LogicLib` completes to `!include \"LogicLib.nsh\"`\n\n#### Drunken NSIS\n\nFuzzy syntax completions are available through the “Drunken NSIS” snippets,\nwhich iron out some of the inconsistencies of the NSIS language, for instance\nword order.\n\n**Example:**\n\n- `FileRead` equals `ReadFile`\n- `ReadINIStr` equals `INIStrRead`\n- `SectionSetText` equals `SetSectionText`\n- `LogSet` equals `SetLog`\n- `FindFirst` equals `FirstFind`\n- `${FindLine}` equals `${LineFind}`\n\n### Formatting\n\nScripts can be formatted using the experimental [`@nsis/dent`](https://www.npmjs.com/package/@nsis/dent) package. To do so, run *Format Document* or adjust your settings for auto-formatting.\n\n### Building\n\nThere are many ways to compile NSIS scripts in Atom. But before you read on,\nmake sure `makensis` is in your\n[PATH environment variable](http://superuser.com/a/284351/195953).\n\nThis package contains a build system to compile your NSIS scripts. To trigger a\nbuild, select _“NSIS: Save \u0026 Compile”_ from the\n[command-palette](https://atom-editor.cc/docs/latest/getting-started-atom-basics#command-palette)\nor use the keyboard shortcut.\n\nIf you prefer working with custom compiler arguments, you can specify them in\nthe\n[package settings](https://flight-manual.atom-editor.cc/using-atom/sections/atom-packages/#package-settings).\nOptionally, you can also specify the path to `makensis`.\n\n#### Third-party Build Tools\n\nShould you prefer working with an existing third-party build system, the\nfollowing packages already have support for NSIS.\n\n- [`build-makensis`](https://web.pulsar-edit.dev/packages/build-makensis)\n- [`script`](https://web.pulsar-edit.dev/packages/script)\n- [`atom-runner`](https://web.pulsar-edit.dev/packages/atom-runner)\n\nProject files for `build-makensis` can be created by executing _“NSIS: Create\n.atom-build file”_ from the\n[command-palette](https://atom-editor.cc/docs/latest/getting-started-atom-basics#command-palette)\nor using the keyboard shortcut. You can specify your preferred build file syntax\n(JSON/YAML) in the package settings.\n\nYou can set up `atom-runner` by executing _“NSIS: Set default runner”_ from the\n[command-palette](https://atom-editor.cc/docs/latest/getting-started-atom-basics#command-palette)\nor packages menu. To remove it, use _“NSIS: Remove default runner”_.\n\n### Linting\n\nThis package will install an\n[Atom linter](https://github.com/idleberg/atom-linter-makensis/) provider for\n`makensis`. By default, NSIS documents get linted when opened or saved. Make\nsure to refer to the\n[`linter-makensis`](https://github.com/idleberg/atom-linter-makensis#settings)\ndocumentation to learn about available lint modes and other settings.\n\n### Other Commands\n\nThere are several other, previously unmentioned commands available from the\n[command-palette](https://atom-editor.cc/docs/latest/getting-started-atom-basics#command-palette):\n\n| Command                       | Description                         |\n| ----------------------------- | ----------------------------------- |\n| `NSIS: Command Reference`     | Look up NSIS command online         |\n| `NSIS: Open Package Settings` | Opens settings page                 |\n| `NSIS: Show Version Info`     | Shows current version of NSIS       |\n| `NSIS: Show Compiler Flags`   | Shows output of `makensis /HDRINFO` |\n| `NSIS: Convert Language File` | Converts NLF to JSON and vice versa |\n\n### Environment Variables\n\nThis extension supports a variety of ways to provide environment variables such\nas `NSISDIR` or `NSISCONFDIR`. The following precedence applies:\n\n1. `.env` files\n2. system-wide environment variables\n\n**Note:** Some operating systems require the editor to be launched from terminal\nin order to access system-wide environment variables.\n\nAdditionally, you can pass special environment variables prefixed with\n`NSIS_APP_` as definitions to your installer script.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eExample\u003c/strong\u003e\u003c/summary\u003e\n\n```env\n# .env\nNSIS_APP_ENVIRONMENT=development\n```\n\n```nsis\n# installer.nsi\n!if ${NSIS_APP_ENVIRONMENT} == \"development\"\n  DetailPrint \"Valuable Debug Information\"\n!endif\n```\n\n\u003c/details\u003e\n\n## Related\n\n- [node-makensis](https://www.npmjs.com/package/makensis) - Node wrapper for\n  `makensis`\n- [vscode-nsis](https://marketplace.visualstudio.com/items?itemName=idleberg.nsis) -\n  NSIS package for Visual Studio Code\n\n## License\n\nThis work is under [The MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fatom-language-nsis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidleberg%2Fatom-language-nsis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fatom-language-nsis/lists"}