Commit Graph

373 Commits

Author SHA1 Message Date
Tim Pope
7d500028e6 Rearrange 2015-09-28 18:02:10 -04:00
Juho Teperi
df563ed15f Fix alias edge case detection in cfile 2015-09-28 15:00:06 -04:00
Tim Pope
04a7f542f5 Improve error on piggieback failure
References #167.
2015-09-22 14:29:07 -04:00
Tim Pope
3d9b9a59cd Merge pull request #236 from janko-m/runtests-error
Fix a runtime error in :RunTests
2015-08-24 14:23:19 -04:00
Janko Marohnić
9a770d3716 Fix a runtime error in :RunTests 2015-08-24 11:54:05 +02:00
Tim Pope
b3b54b8715 Merge pull request #231 from nberger/use-test-vars-on-single-var
Run (single) test under cursor with fixtures applied
2015-07-31 14:39:19 -04:00
Nicolas Berger
b50e74f342 Run test under cursor with fixtures applied
Use `test-vars` instead of `test-var` so the test runs with the fixtures
applied. That's the expected behavior when running a test. It's also
what's being done when multiple tests are matched.
2015-07-31 14:53:12 -03:00
Tim Pope
9f7b1844cf Merge pull request #229 from kul/master
Remove superfluous padding from expression
2015-07-18 12:51:18 -04:00
kul
74d392339c Remove superfluous padding from expression 2015-07-18 12:23:31 +05:30
Tim Pope
a1571cd258 fireplace.vim 1.1
* Support cider completion, including context aware completion.
* Updates for latest cider-nrepl and piggieback.
* Use :.RunTests or 1cpr to run test under cursor.
* Add CTRL-R CTRL-F and CTRL-R CTRL-P command line maps.
* Add support for boot's fake class path.
* Fix handling of CTRL-C interrupt while evaling.
* Numerous minor bug fixes.
2015-06-30 18:34:36 -04:00
Tim Pope
f456f04b65 Work around bug on ancient Vim
Closes #226.
2015-06-29 17:46:45 -04:00
Tim Pope
09c80c6794 Allow 1cpr to run test under cursor 2015-06-26 09:36:14 -04:00
Tim Pope
459904381b Use :.RunTests to run test under cursor
Closes #223.
2015-06-25 15:34:45 -04:00
Tim Pope
69bf9ef519 Make :0RunTests equivalent to RunAllTests 2015-06-25 15:04:12 -04:00
Tim Pope
1f478e401a Tweak <cfile> 2015-06-25 10:17:58 -04:00
Tim Pope
cb3c270c99 Add cljc extension support to connection process 2015-06-23 15:56:50 -04:00
Tim Pope
7b2ae78bd7 Add <C-R> command line maps 2015-06-21 15:12:39 -04:00
Tim Pope
b0a540c68d Add .cljc extension 2015-06-21 15:08:30 -04:00
Tim Pope
09eedd05af Use jar command if available to query zip files 2015-06-21 15:08:29 -04:00
Tim Pope
89aee9c00c Merge pull request #214 from Deraen/completion-context
Completion context
2015-05-17 11:01:43 -04:00
Juho Teperi
c22e61c69b Add support for context aware completion
If complete operation is given context property containing the
current toplevel form Compliment library can give better completion
results in some contexts:

- Local vars for let and defn
- Resources in classpath for io/resource calls
- Vars in specific ns for :require :refer
- Better Java class name completion for :import

The context string should contain symbol __prefix__ in place of the word
being completed. To achieve this location of cursor inside the toplevel
form is calculated so that the placeholder symbol can be placed in the
proper place.
2015-05-17 17:54:06 +03:00
Roger Gilliar
13a21bff0f Fix count of test errors and failures
Closes #208.
2015-05-17 10:06:21 -04:00
Tim Pope
1646a01b0b Merge pull request #211 from Deraen/all-candidate-types
Add all candidate types to short_types map
2015-05-16 16:17:59 -04:00
Juho Teperi
aede23c46a Add all candidate types to short_types map 2015-05-16 23:01:23 +03:00
Tim Pope
819438bdf4 Merge pull request #210 from Deraen/cider-nrepl-0.9.0
Cider nrepl 0.9.0 completion support
2015-05-15 16:19:55 -04:00
Juho Teperi
9ccaea1f2b Request extra-metadata for completion candidates
In cider-nrepl 0.9.0 there is new extra-metadata option for complete op
[1]. It can be used to enrich the candiate results with additional
properties like arglists and docstring.

This commit adds extra-metadata option to complete call and changes the
candidate function to set fields in omnicomplete result so that arglists
are shown on omnicomplete menu and docstring is shown in preview window.

[1]: https://github.com/clojure-emacs/cider-nrepl/pull/195/files
2015-05-15 22:54:08 +03:00
Juho Teperi
44e766d5a5 Add support for Cider-nrepl 0.9.0 complete op
Response from complete operation now returns list of maps containing
e.g. namespace and type of the completion candidate.
This change adds a new type check to check if complete returned list of
maps and converts those maps to format required by omnicomplete.
In addition to candidate name its type is now shown. The type is
shortned to one character.
2015-05-15 22:31:54 +03:00
Tim Pope
49153a39fc Merge pull request #201 from kul/master
Remove `:repl-env` for latest piggieback compatibility.
2015-04-13 16:27:49 -04:00
kul
0aabcdd798 Remove :repl-env for latest piggieback compatibility. 2015-03-31 20:52:10 +05:30
Joshua Davey
5866d0017a Add support for boot 2.0 and up
Boot's built-in repl task adds a fake.class.path System property which
refers back to the original user files (as opposed to the temporary
files it uses to actually do builds). We should prefer that to anything
else when the property is set.

Fixes #194.
2015-02-15 13:45:21 -05:00
Robert Pitts
7cebf6847e Document cqq 2015-02-10 15:27:43 -05:00
Tim Pope
71e44af208 Fix c1mm 2015-02-10 11:11:53 -05:00
Tim Pope
b999b09cd9 Fix project directory path for autoconnection
Closes #189.
2014-12-20 01:27:23 -05:00
Tim Pope
506cf288bd Skip regexp when selecting form for cpp
Closes #188.
2014-12-11 11:31:23 -05:00
Tim Pope
0ecd9ec587 Fix duplicate namespaces in completion 2014-11-30 00:53:32 -05:00
Tim Pope
874505e9f2 Support new return value of completions operator 2014-11-30 00:46:33 -05:00
Tim Pope
04ce1b64af Support new return value of classpath operator 2014-11-30 00:36:33 -05:00
Tim Pope
db2e70ee3f Cider info op no longer embeds in value attribute
Closes #186.
2014-11-19 00:49:58 -05:00
Tim Pope
8f7a07cffd Allow forcing default ns 2014-10-23 15:52:50 -04:00
Tim Pope
97758acc16 Fix sending interrupt commands after SIGINT
Via @benmoss.  Closes #182.
2014-10-21 15:29:31 -04:00
Tim Pope
eeccb69a2f Fix typo 2014-10-21 15:14:38 -04:00
Tim Pope
c0e574387d Fix completion in aliased namespaces 2014-10-10 02:40:10 -04:00
Tim Pope
fccb149148 Recognize nested classes in K
Closes #176.
2014-09-05 13:10:21 -04:00
Tim Pope
c1416c89ba Don't choke on missing API version
Closes #175.
2014-09-02 12:26:13 -04:00
Tim Pope
b256399f3f Merge pull request #169 from oahner/fix-portfile-issue
Register port file after connecting to port
2014-07-31 10:34:32 -04:00
Jonathan Henry
142fab4e0f Register port file after connecting to port 2014-07-31 00:57:15 -04:00
Tim Pope
06f6bc5de6 Evaluate single expression when running tests
This eliminates an extra "nil" value in the response.
2014-07-12 23:17:30 -04:00
Tim Pope
d6b3e1c67c Silence all callback errors
If this is to be made asynchronous, there's not really a good way to
display the exception.
2014-07-10 22:58:35 -04:00
Tim Pope
ebb2933f4c Pass additional .message arguments to callback 2014-07-10 22:43:03 -04:00
Tim Pope
3e978e4cd4 Add better name for fireplace#evalparse() 2014-07-04 17:14:10 -04:00