Skip to content
Path intellisense support for atom
Branch: master
Clone or download
Latest commit 2c75648 Apr 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Improvements on resolving searchPath Apr 21, 2018
styles initial Apr 18, 2018
.gitignore initial Apr 18, 2018
LICENSE Initial commit Apr 3, 2018
README.md Update README.md Apr 21, 2018
package.json Prepare 1.1.1 release Apr 21, 2018

README.md

atom-path-intellisense

Path Intellisense support for atom.

Autocomplete provider based on atom autocomplete-plus package

Features

  • Provides path suggestions based on typed path.
  • Current file relative path suggestions are provided typing either self (./) or parent(../) directory location.
  • Project folder relative path suggestions are provided typing forward slash (/).
  • Suggestions are provided at typing by default, but it's also possible to configure them to be provided only by pressing (ctrl + space) shortcut by setting manual-suggest configuration parameter on true.
  • Suggestions are provided within quoted strings both single and double by default.
    It´s possible to configure different scope descriptors in scope-descriptors configuration parameter.
  • Escaping of single quotes is allowed within single-quoted strings.

Installation

Install from atom´s settings/packages tab or run following command on a terminal:

  apm install atom-path-intellisense

Configuration

This package exports following configuration settings to config.cson file:

  • manual-suggest
    If set to true, path suggestions are provided manually only by pressing (ctrl + space) shortcut.

  • scope-descriptors
    Array of scope descriptors to allow suggestions within them.
    Quoted strings both single and double are supported by default.
    See: Scope Descriptors

Example of config.cson file:

"*":
  "atom-path-intellisense":
    "manual-suggest": "false"
    "scope-descriptors": [
      "string.quoted.single"
      "string.quoted.double"
    ]

Screenshots

You can’t perform that action at this time.