{"id":21648034,"url":"https://github.com/atom-community/autocomplete-paths","last_synced_at":"2025-05-07T21:40:19.245Z","repository":{"id":15933577,"uuid":"18675638","full_name":"atom-community/autocomplete-paths","owner":"atom-community","description":"Autocomplete Paths for Atom","archived":false,"fork":false,"pushed_at":"2023-10-14T00:53:37.000Z","size":2420,"stargazers_count":151,"open_issues_count":34,"forks_count":57,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-05T13:06:46.710Z","etag":null,"topics":["atom","autocomplete","autocomplete-paths"],"latest_commit_sha":null,"homepage":"","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/atom-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2014-04-11T13:48:13.000Z","updated_at":"2024-06-07T14:29:27.000Z","dependencies_parsed_at":"2023-01-11T20:24:13.295Z","dependency_job_id":"9cacf5ba-7862-4fd2-9965-139bd098929d","html_url":"https://github.com/atom-community/autocomplete-paths","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fautocomplete-paths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fautocomplete-paths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fautocomplete-paths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fautocomplete-paths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom-community","download_url":"https://codeload.github.com/atom-community/autocomplete-paths/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961056,"owners_count":21832179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","autocomplete","autocomplete-paths"],"created_at":"2024-11-25T06:53:03.381Z","updated_at":"2025-05-07T21:40:19.216Z","avatar_url":"https://github.com/atom-community.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autocomplete+ paths suggestions [![Build Status](https://travis-ci.org/atom-community/autocomplete-paths.svg?branch=master)](https://travis-ci.org/atom-community/autocomplete-paths)\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/atom-community/autocomplete-paths?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[View the changelog](https://github.com/atom-community/autocomplete-paths/blob/master/CHANGELOG.md)\n\nAdds path autocompletion to autocomplete+ depending on scope and prefix. Supports custom scopes defined by the user.\n\n![autocomplete-paths](http://fs5.directupload.net/images/160215/5tdhz7c4.gif)\n\n## Features\n\n- Support for JavaScript, CoffeeScript, TypeScript, PHP, SASS, LESS, Stylus, CSS, C, C++, Lua, Ruby and Python\n- Very efficient thanks to caching and incremental cache rebuilds (incremental builds are [disabled for Windows](https://github.com/atom/node-pathwatcher/issues/70). Please use the `Rebuild Cache` command.)\n- Easily extendable\n\n## Installation\n\nYou can install autocomplete-paths using the Preferences pane.\n\n## Defining scopes\n\n`autocomplete-paths` triggers whenever a scope matches the current cursor position and scope\ndescriptor. Here is an example for a JavaScript-Scope that supports the ES6 'import' syntax as\nwell as the CommonJS `require()` syntax and the RequireJS `define()` syntax:\n\n```js\n{\n  scopes: ['source.js'], // Only triggers in JS files\n  prefixes: [\n    'import\\\\s+.*?from\\\\s+[\\'\"]', // import foo from '\n    'require\\\\([\\'\"]', // require('\n    'define\\\\(\\\\[?[\\'\"]' // define([' or define('\n  ],\n  extensions: ['js', 'jsx', 'ts', 'coffee'], // Only shows JS / TS / Coffee files\n  relative: true, // Inserts relative paths only - defaults to true\n  includeCurrentDirectory: true, // Include './' in path - defaults to true\n  projectRelativePath: false, // Includes full relative path starting after the project directory\n  replaceOnInsert: [ // Replaces the file extensions on insert\n    ['.jsx?$', ''],\n    ['.ts$', ''],\n    ['.coffee$', '']\n  ]\n}\n```\n\nYou can add custom scopes by adding them to your `config.cson` file:\n\n```coffee\n\"autocomplete-paths\":\n  scopes: [\n    { ... },\n    { ... },\n  ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fautocomplete-paths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom-community%2Fautocomplete-paths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fautocomplete-paths/lists"}