Comments (4)
I couldn't reproduce this one either, though I tried with a java method and nothing happened - instead of showing the error.
If you could give me more details on this one, I'll be able to dig further.
Thanks in advance,
Henry
from acid.nvim.
Trying it again today after updating, and it's working sometimes (even for jumping to a definition in a dependency library, or in clojure.core! Nice! 👍 )
It seems like it just fails when my cursor is over a Java inter-op form like System/getProperty
. When I press <C-]>
, I get the error I posted above involving AcidFindFileInPath
, and acid completely stops working after that point, and I have to restart Neovim to get it back.
From /tmp/acid-log-handler.log
:
2019-03-23 17:51:20,417 - [acid.nvim :DEBUG] - fpath is None
2019-03-23 17:51:20,420 - [acid.nvim :DEBUG] - Hitting cache for ns 'alda.util'
2019-03-23 17:51:27,329 - [acid.nvim :DEBUG] - fpath is None
2019-03-23 17:51:27,330 - [acid.pure :DEBUG] - Supplied path is /home/dave/code/alda-core/src/alda/util
2019-03-23 17:51:27,331 - [acid.pure :DEBUG] - Attempting reverse match: [/crs/: litu/adla/crs/eroc-adla/edoc/evad/emoh/] -> 9
2019-03-23 17:51:27,332 - [acid.pure :DEBUG] - Found path list: ['alda', 'util']
2019-03-23 17:51:27,338 - [acid.session :INFO] - sending data -> {'ns': 'alda.util', 'id': '917e2d8573fb4634b0690a68389c7c12', 'op': 'info', 'symbol': 'System/getProperty'}
2019-03-23 17:51:27,339 - [acid :INFO] - {'wc': 'c513c4a846f148308d644c9ec3005ca6-watcher'}
2019-03-23 17:51:27,351 - [acid :INFO] - Finding path
2019-03-23 17:51:27,354 - [acid.session :INFO] - stopped watching key 917e2d8573fb4634b0690a68389c7c12-e960de5b5fbf4dcaa097ee7f6c1e94c2-watcher
2019-03-23 17:51:27,355 - [acid :INFO] - {'modifiers': '#{:public :static}', 'returns': 'java.lang.String', 'class': 'java.lang.System', 'status': ['done'], 'argtypes': ['java.lang.String', 'java.lang.String'], 'arglists-str': '[java.lang.String java.lang.String]\n[java.lang.String]', 'member': 'getProperty', 'session': 'a51c17cc-eaff-4cf3-a6c3-5f77a61020ef', 'javadoc': 'http://docs.oracle.com/javase/11/docs/api/java/lang/System.html#getProperty-java.lang.String-java.lang.String-', 'id': '917e2d8573fb4634b0690a68389c7c12', 'file': [], 'throws': []}
Another thing I noticed: I'm used to jumping to tags via ctags, and the keybindings for that are <C-]>
to jump to a definition, then <C-t>
to pop the tag stack and return to where you were. I wonder if it would be possible for acid to push the definition spots to the tag stack, so that <C-t>
works? (either that or override the <C-t>
behavior and maintain its own tag stack?)
from acid.nvim.
Can I close this one?
from acid.nvim.
Yep -- since #54, acid.nvim isn't binding <C-]>
anymore, so the issue is moot :)
from acid.nvim.
Related Issues (20)
- On update remote plugins HOT 3
- Specify :connect port HOT 5
- Boot support HOT 5
- Commands are not working HOT 6
- acid.nvim throws an error out of the box HOT 20
- The "K" keybinding to look up docs throws an error HOT 13
- Feature request: show stacktrace when eval produces an error HOT 5
- Feature request: a simple REPL prompt in the command area HOT 1
- Feature request: a more flexible AcidMotion HOT 9
- Obscure error message when no nREPL is running HOT 11
- Require/eval fails when the folder hierarchy isn't typical for a Clojure project HOT 7
- Feature request: a command to evaluate a string of input (i.e programmatic `cqp`) HOT 6
- :AcidRequire clojure.string - Weird error HOT 5
- Feature request: an option to disable "go to definition" HOT 4
- No request handler registered for acid:function:AcidGetNs HOT 15
- Install fails with "Exit status: 1" HOT 14
- Unknown function: trim HOT 4
- `gd` kills `:AcidEval` HOT 2
- Bad argument #1 to ipairs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acid.nvim.