Scopus Query Compiler
A Sublime Text 3 package for compiling Scopus Advanced Search queries.
Details
Installs
- Total 130
- Win 102
- Mac 17
- Linux 11
Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Scopus Query Compiler
This package works best in conjunction with the Scopus-Syntax-Highlighter package.
Scopus is a database of scientific articles that provides an advanced search function.
When editing search queries, this package allows you to create a query referencing another query. That is, given the following queries:
TITLE-ABS-KEY(neur* AND network*)
TITLE-ABS-KEY(recurrent)
You can create the query “ruby (TITLE-ABS-KEY(neur* AND network*)) AND (TITLE-ABS-KEY(recurrent))
by typing `#1 AND #2` and then using the "Scopus Compile: Compile Query" command in the command palette.
The number you type after `#` is simply the number of the line number of the targeted query.
You can theoretically nest as many query references as you want, as long as you have no circular or self-references (these are detected and cause an exception).
% denotes a comment and is ignored.
Example:
We want to compile line 15, which references lines 1, 7, 12, 13 and 14, which themselves reference other queries.
![](https://user-images.githubusercontent.com/12431317/64166237-00077780-ce47-11e9-9fae-bfe18c592713.png)
We select or put our caret on line 15 and use the command palette to use the Compile Query command.
![](https://user-images.githubusercontent.com/12431317/64166238-00077780-ce47-11e9-937d-3e9d0f678192.png)
The query on line 15 has been compiled, that is, its references have been replaced by the corresponding queries.
![](https://user-images.githubusercontent.com/12431317/64166239-00077780-ce47-11e9-845d-a330f1b6b586.png)
[![WTFPL](http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-2.png)](http://www.wtfpl.net/)