Skip to content

Commit

Permalink
Disable full text search by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mopemope committed Apr 26, 2018
1 parent 7fa1b7f commit 1234e87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Version 1.0.0 (2018-04-XX)
# Version 1.0.1 (2018-04-26)

* Disable full-text-search by default
* Supported import static method completion (experimental)
* Fix package completion
* Fix some bugs and improve stability.

# Version 1.0.0 (2018-04-07)

## Highlights

Expand Down
9 changes: 8 additions & 1 deletion meghanada.el
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,15 @@ In linux or macOS, it can be \"mvn\"; In Windows, it can be \"mvn.cmd\". "
:type 'function)

(defcustom meghanada-import-static-enable "java.util.Objects,org.junit.Assert"
"Sets import static comletion class."
"Sets import static completion classes."
:group 'meghanada
:type 'string)

(defcustom meghanada-full-text-search-enable nil
"If true, enable full text search and meghanada-search-everywhere."
:group 'meghanada
:type 'boolean)

;;
;; utility
;;
Expand Down Expand Up @@ -438,6 +443,8 @@ function."
(push (format "-Dmeghanada.javac.arg=%s" meghanada-javac-xlint) options))
(when meghanada-import-static-enable
(push (format "-Dmeghanada.search.static.method.classes=%s" meghanada-import-static-enable) options))
(when meghanada-full-text-search-enable
(push "-Dmeghanada.full.text.searchs=true" options))
(when meghanada-gradle-version
(push (format "-Dmeghanada.gradle.version=%s" meghanada-gradle-version) options))
(when meghanada-gradle-prepare-compile-task
Expand Down

0 comments on commit 1234e87

Please sign in to comment.