Tim Pope
fff348ccd0
Respect 'autowrite' in :Require and :RunTests
2014-05-04 18:09:56 -04:00
Tim Pope
020a10d06c
Use info op for :Doc
...
This should enable ClojureScript support.
2014-05-01 22:26:53 -04:00
Tim Pope
afb036203e
Drop Leiningen and alternate support
2014-04-29 21:28:28 -04:00
Tim Pope
0bc928f0fc
Automatic require :reload on :RunTests
...
Really, I just want an atomic way to perform these two operations.
:Require|RunTests seems like it would work, but it obliviously runs the
tests even if the require fails, plus copes poorly with the one-off
runner.
2014-04-28 23:06:21 -04:00
Tim Pope
12386dc0c2
Fix newlines in c!
...
Closes #146 .
2014-04-23 23:16:02 -04:00
Tim Pope
e484ad6996
Use info op to drive jump to definition
2014-04-20 18:55:37 -04:00
Tim Pope
e974dd4766
Prepare for extraction of leiningen support
2014-04-20 18:53:01 -04:00
Tim Pope
2d1f3088b2
Fix :RunTests with no argument
2014-04-14 01:55:16 -04:00
Tim Pope
f25003deef
Decouple quickfix massaging from lein support
2014-04-14 00:22:43 -04:00
Tim Pope
5f1cee19c0
Never throw exception in fireplace#op_available
2014-04-12 21:49:45 -04:00
Tim Pope
c6e0d55143
Use nrepl complete op if available
...
Closes #65 .
2014-04-12 21:20:15 -04:00
Tim Pope
89acd66d6d
Drop qualification of macroexpand-1
...
Who would shadow this?
2014-04-12 21:18:18 -04:00
Tim Pope
feb8ebc976
Happy path for lookup macros
2014-04-12 21:18:18 -04:00
Tim Pope
f5ded81baf
Drop unnecessary clojure.core
...
We're in a clean user ns so the qualification is unnecessary here.
2014-04-12 21:18:18 -04:00
Tim Pope
238b526cf2
Use user ns to avoid qualification
2014-04-12 21:18:18 -04:00
Tim Pope
9e826faff4
Allow omitting ns from fireplace#message
2014-04-12 20:31:18 -04:00
Tim Pope
79c2a718da
Allow checking for nREPL op
2014-04-12 20:31:18 -04:00
Tim Pope
c48adc045b
Fix jump location for :RunTests error
2014-04-12 20:28:34 -04:00
Tim Pope
bc8f3af299
Cleaner classpath retrieval
2014-04-12 18:15:22 -04:00
Tim Pope
2dec3b49b2
Expose fireplace#register_port_file
...
References #121 .
2014-04-10 23:25:59 -04:00
Tim Pope
ea1012e1be
Don't use session for :Source/:Doc
2014-04-09 13:23:19 -04:00
Tim Pope
916fc04ecb
Don't depend on classpath.vim
...
Other plugins should be able to set up the path as well without
classpath.vim serving as a clearinghouse.
2014-04-09 13:20:13 -04:00
Tim Pope
ead617d9c3
Centralize use of classpath.vim
2014-04-09 12:45:54 -04:00
Tim Pope
f43fa99703
Fix check for haslocaldir()
2014-04-05 19:27:41 -04:00
Tim Pope
6130d01b33
Give up on autostart with "headless" handler
2014-04-04 02:15:25 -04:00
Tim Pope
b0f9fad9ec
Autostart lein repl with dispatch.vim
...
Great idea? Or greatest idea?
2014-04-04 01:57:43 -04:00
Tim Pope
4425618825
Add run-tests to cpr
...
Clobbering the quickfix is probably a deal breaker but hey let's try it
anyways.
References #59 .
2014-04-04 00:58:52 -04:00
Tim Pope
092ab0f70e
Provide :RunTests
...
:RunTests! currently calls (run-all-tests), but if we find a more useful
semantic for ! that might change.
Closes #59 .
2014-04-04 00:58:21 -04:00
Tim Pope
6c13396262
Remove dead code
2014-04-03 21:16:42 -04:00
Tim Pope
9a689480ef
Better rooting with findfile()
...
I think this is more portable.
2014-04-03 21:09:00 -04:00
Tim Pope
ab5eee34d8
Support .nrepl-port outside of Leiningen
2014-04-03 21:03:26 -04:00
Tim Pope
ab6d9db216
Tentatively drop support for session eval without REPL
...
I'm not 100% committed to this, but lets see if anyone even misses it
(including me). My main use case for the one-off runner is jump to
source.
2014-04-03 19:37:47 -04:00
Tim Pope
da3f5857b5
Respect jump list on ]<C-D> within same file
...
Closes #70 .
2014-04-03 18:23:24 -04:00
Tim Pope
d65eaa5068
Fix c!! with selection=inclusive
...
References #110 .
2014-04-03 16:23:13 -04:00
Tim Pope
90b909b9f4
Use innermost form with cpp et al
...
Closes #119 .
2014-03-29 20:52:31 -04:00
Tim Pope
b139d72da4
Fix check for classpath function
2014-03-21 01:38:45 -04:00
Neil Kirsopp
77b06741ef
Remove ANSI escapes from stderr as well
2014-03-20 17:11:16 +00:00
Neil Kirsopp
72794b36d9
Remove ANSI from standard out
2014-03-20 16:50:40 +00:00
Steve Losh
3a843cb1b1
Add arglists to the omnicomplete preview window
...
When you use omnicomplete the arglists of functions are shown in the
popup menu and the docstrings in the preview window. This patch adds
the arglists into the preview window too. This is handy because once
you select a completion you'll still be able to see the arglists as you
write the rest of the form.
2014-02-14 19:38:58 -05:00
Tim Pope
97d78f6829
Allow quotes in :Piggieback argument
...
Closes #134 .
2014-02-05 20:29:09 -05:00
Tim Pope
d3e6bd34ae
Fix check for b:fireplace_ns
...
Closes #133 .
2014-02-05 10:19:01 -05:00
Tim Pope
5a86ec2c81
Fix lein stacktrace parsing without live REPL
2014-01-30 23:30:53 -05:00
Tim Pope
eb27299bd9
Parse stacktraces from :make with lein
2014-01-30 23:13:57 -05:00
Tim Pope
0095241a6f
:Piggieback
2014-01-19 17:59:40 -05:00
Tim Pope
226c5a0fd1
Special case :Require in cljs
2014-01-18 23:26:27 -05:00
Tim Pope
766c8d6bc9
Don't require successful ns load to send nREPL message
2014-01-18 23:25:44 -05:00
Tim Pope
385d8288db
Fix null namespace issue
2014-01-18 23:15:53 -05:00
Tim Pope
81ca22bfe2
Fix cpp with piggieback
2014-01-17 22:16:18 -05:00
Tim Pope
0d7b97df7c
Initial piggieback support
2014-01-17 20:28:10 -05:00
Tim Pope
0520e4fa32
Extract disconnection cleanup for general use
2014-01-17 17:52:02 -05:00
Tim Pope
a568535bcd
Support buffer path without classpath.vim
2014-01-17 05:44:42 -05:00
Tim Pope
64f0ae7bbe
Extract spawning eval logic
2014-01-17 05:03:09 -05:00
Tim Pope
ee141c0256
Do people test ClojureScript?
2014-01-17 04:35:30 -05:00
Tim Pope
6e7f22766a
Disconnect when port file disappears
2014-01-17 04:30:46 -05:00
Tim Pope
91e3b35403
Kill debug
2014-01-17 00:27:45 -05:00
Neil Kirsopp
fef85624d3
Anchor to end of ns string
2014-01-15 23:40:36 -05:00
Neil Kirsopp
b92a9730f0
Very basic Midje alternate
2014-01-15 23:40:18 -05:00
Tim Pope
ef422f66e2
Remove require from client interface
2014-01-15 23:38:04 -05:00
Tim Pope
15f98b06f7
Leverage 'suffixesadd'
2014-01-15 21:37:03 -05:00
Tim Pope
76a99139d1
Remove s:client
2014-01-15 21:37:03 -05:00
Tim Pope
2a6d23f2fc
Fix
2014-01-15 19:26:00 -05:00
Tim Pope
c4f677ee64
Fix fireplace#source
2014-01-14 16:28:21 -05:00
Tim Pope
4d93831925
Move includes_file out of repl client
2014-01-13 16:37:44 -05:00
Tim Pope
7c0c524259
Restore fireplace#eval for compatibility
...
Use fireplace#session_eval if you want to evaluate something from the
user, and fireplace#evalparse if you want to query for information.
2014-01-12 14:58:28 -05:00
Tim Pope
b56e40a2b6
Provide fireplace#path() to access class path
2014-01-12 14:00:13 -05:00
Tim Pope
98cd5e1515
Don't show stacktrace from failed java exec
2014-01-12 13:34:52 -05:00
Tim Pope
af245caf76
Propagate require error to eval
2014-01-12 01:06:11 -05:00
Tim Pope
09a0ed93cf
Encapsulate disconnection detection
2014-01-12 01:06:01 -05:00
Tim Pope
9c48439da7
Leverage evalparse
2014-01-12 01:06:01 -05:00
Tim Pope
a0fde95d2e
Remove unused function
2014-01-12 01:06:01 -05:00
Tim Pope
c2a90eb47f
One weird trick to force namespace creation
2014-01-11 23:43:08 -05:00
Tim Pope
355580da7e
Accidental commit
2014-01-11 21:55:55 -05:00
Tim Pope
c99bda551e
Use python for zipfile contents when possible
2014-01-11 21:11:09 -05:00
Tim Pope
0299eac671
Adjust comment stripping heuristic for cq
...
Closes #89 .
2014-01-11 19:10:45 -05:00
Tim Pope
f605cd7824
Do all classpath searching locally
...
In addition to being cleaner, this means we no longer need to worry
about evaling on a "local" server.
2014-01-11 17:48:04 -05:00
Tim Pope
cf094f970f
Retrieve ns for arbitrary buffer
2014-01-11 17:48:04 -05:00
Tim Pope
56d667b7d5
Allow retrieving client for arbitrary buffer
...
Currently, only the one-off client is fully decoupled.
2014-01-11 17:48:04 -05:00
Tim Pope
fc0ab71587
Generalize call and add message abstraction
2014-01-10 13:30:32 -05:00
Tim Pope
28a6c2c262
Fix cpp on closing bracket
...
Closes #122 .
2014-01-09 14:32:16 -05:00
Tim Pope
382869c6c7
Convenience function for nrepl call
...
This is mainly for my own debugging, but might evolve in to a real API.
I'm not sure if it's the right place to do a require.
2014-01-09 00:52:25 -05:00
Tim Pope
18d60a3fa5
Allow calling findresource with custom path
2014-01-08 20:05:46 -05:00
Tim Pope
1f3f36505e
Unify :Eval and cpp
...
Now both operations select the exact outermost form use load-file for
proper file/line metadata.
2014-01-08 01:36:39 -05:00
Tim Pope
023c8573ab
Default to sending session id
2014-01-07 20:01:33 -05:00
Tim Pope
1b2e58db97
Allow debugging connection failures
2014-01-07 14:07:08 -05:00
Tim Pope
9664516d5f
So many missing aborts
2014-01-06 22:58:43 -05:00
Tim Pope
fa4e0ed143
Fix debugging statement
2014-01-06 22:35:42 -05:00
Tim Pope
bb84d556bc
Fix :Connect with argument
...
References #120 .
2014-01-06 12:49:12 -05:00
Tim Pope
7277fc4e6d
Fix :Connect with no arguments
...
Closes #120 .
2014-01-06 11:38:50 -05:00
Tim Pope
9aa2071b17
Allow overriding buffer namespace
2014-01-01 17:15:35 -05:00
Tim Pope
973014a626
Encapsulate user ns
2014-01-01 13:35:33 -05:00
Tim Pope
90692edc35
Different gross hack for extracting backtrace
...
Now instead of wrapping the code up in a try/catch, we just use a series
of evals to grab *e and then restore *1/*2/*3.
2013-12-31 20:04:33 -05:00
Tim Pope
cd3bf333bf
Use nrepl load-file for :[range]Eval
...
Closes #83 .
2013-12-30 14:20:07 -05:00
Tim Pope
d3f7f2cf26
Change cpp from innermost to outermost
...
Closes #116 .
2013-12-26 11:21:20 -05:00
Tim Pope
f1b8096b3f
Merge pull request #108 from actionshrimp/last-err
...
Include compilation errors in s:history for :Last
2013-10-23 21:25:53 -07:00
Dave Aitken
b57c21c29b
Include compilation errors in s:history for :Last
...
If the repl doesn't return a value due to an error during compilation
(EOF due to missing bracket, unrecognised symbol), the response has no
value and as a result is not added to the history. However it's useful
to add it so it can be inspected with :Last to aid with fixing the issue.
2013-10-17 20:06:54 +01:00
Jace Bennett
740ca20ff1
As of Leiningen 2.3.2 there is yet another portfile convention
2013-08-20 23:49:40 -04:00
Joshua Davey
4db39ee484
Search for repl-port file in common places
...
As of Leiningen 2.3, different profiles activate different target
sub-directories. In the case of the repl, that means the repl-port file
is now located at target/repl/repl-port.
2013-08-14 14:19:16 -05:00
Aaron Miller
0127e5fc54
Fully macroexpand using macroexpand-all
2013-08-06 01:43:19 -04:00
Joshua Davey
235a4ec3e8
Make alternates function public
2013-08-06 01:43:19 -04:00
Tim Pope
8f925c9342
Merge pull request #71 from rasmusto/fugitive-integration
...
handle "fugitive:.*" file in s:repl.includes_file
2013-08-01 21:50:34 -07:00