pulsar-ide-bash
Rich language support for `bash` shell scripts in Pulsar using `bash-language-server`
savetheclocktower 41 0 0.0.1 MIT GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

pulsar-ide-bash package

Enhanced language support for bash in Pulsar using bash-language-server.

Prerequisites

  • bash-language-server is bundled with this package; you do not need your own installation.
  • Though the language server itself is bundled, the server delegates to shellcheck for diagnostics and shfmt for code formatting. You must install each of these separately if you want to take advantage of their features. (brew install shellcheck and brew install shfmt will do nicely if you have Homebrew; both are also available in apt for both Ubuntu and Debian.)
  • A modern standalone version of Node is required, at least for now. You can configure the path to this version of Node in the settings if it’s not picked up from your PATH. (This should no longer be necessary once Pulsar moves to a newer version of Electron.)

Features

Install this package, then install any of the following packages to get special features.

Start with these packages; they’re all builtin, actively maintained, and/or built exclusively for Pulsar:

  • autocomplete-plus (builtin)
    • See autocompletion options as you type
  • symbols-view (builtin)
    • View and filter a list of symbols in the current file
    • Jump to the definition of the symbol under the cursor
  • linter and linter-ui-default
    • View diagnostic messages as you type
  • intentions
    • Open a menu to view possible code actions for a diagnostic message
    • Open a menu to view possible code actions for the file at large
  • pulsar-find-references
    • Place the cursor inside of a token to highlight other usages of that token
  • pulsar-outline-view
    • View a hierarchical list of the file’s symbols
  • pulsar-refactor
    • Perform project-wide renaming of variables, methods, classes and types
  • pulsar-code-format
    • Reformat the current script on demand or automatically when you save
  • pulsar-hover
    • Show contextual information about the symbol under the cursor

For other features that don’t have equivalents above — or even if you just prefer the old stuff! — the legacy atom-ide packages should also work:

  • atom-ide-outline
    • View a hierarchical list of the file’s symbols
    • View the call hierarchy for a given file
  • atom-ide-datatip
    • Hover over a symbol to see any related documentation, including method signatures
  • atom-ide-code-format
    • Invoke on a buffer (or a subset of your buffer) to reformat your code according to the language server’s settings
  • atom-ide-definitions
    • Jump to the definition of the symbol under the cursor