To allow full project indexing you have to create lupaProject.json
in root directory of your project. Example file:
{
"filePattern": "src/**/*.js"
}
This package shows structure of each JavaScript file, with clickable list of functions, imports etc. It allows you to navigate also between different files in project, shows what modules in project import particular file.
err
.examples of semantic search (DSL can change in future versions).
type:objectLiteral
(space has meaning so this isn't gonna work:
type : objectLiteral #doesn't gonna work
Example below finds functions which have foo in name:
type:function foo
type:class
type:todo
params.length:2
params[0].name:err
jsx:true
loc.start.column:7
loc.start.line:3
Example below finds external imports (i.e. these from node_modules):
source:node_modules
require(...)
s )toggle
command now shows/hides sidepanel. Previous toggle
command was renamed to focus
LICENSES:
Atom-Lupa: MIT
The AngularJS logo design is licensed under a "Creative Commons Attribution-ShareAlike 3.0 Unported License"
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.