Comments (17)
Yes, that is weird. Do you get an error message?
from edts.
*Messages*
buffer sayes:
ferl-search-function: function foo/1 not found
when looking for local foo/1
function.
from edts.
Nice! That sounds like an actual bug:) Would it be possible for you to provide a minimal working example to reproduce the bug? What do the clauses of foo/1 look like?
from edts.
Hmm, I can describe it, sure, but the problem is that ANY local function is not found. Simply like that. No matter it's exported or not. Any arity. Any name.
from edts.
Ok, it may be a clue: personally I put SPACE after function name, like this:
foo (...) ->
...
from edts.
Yep. This is it. The SPACE... Removed and search worked. But, it's still a bug ;)
from edts.
Should be fixed now. Thanks for your time!
from edts.
Let me guess: the bug still exists for local functions with space after name AND arity /= 1? ;)
In my case, when the cursor is on "foo/1" the function will find "foo/0" definition.
from edts.
haha, yes. Who would put a space there?? :D
from edts.
I don't know...people are strange ;)
from edts.
Fixed
from edts.
Nop. Try this:
abc() ->
abc(1,2,3,4).
abc(A,B,C,D) ->
ok.
And try to find abc/4.
from edts.
Hm. No end to the issues it seems and I'm to tired to write unit tests for this right now which I really should, but I think it works now.
from edts.
Rewrote the "parsing"-function entirely. Can you confirm that it works as expected now?
from edts.
Yep. For me it works well.
from edts.
Sorry, for reopening: I got to check it on my second box ;)
from edts.
Success confirmed.
from edts.
Related Issues (20)
- eproject: invalid-read-syntax HOT 3
- Does the OTP release of the EDTS node and the project node need to be the same? HOT 5
- Merging with OTP? HOT 4
- Starting node fails HOT 7
- How to run EDTS when the R19 patches haven't been merged HOT 1
- error on beam file without outdir in compile options not compiled in ebin directory HOT 1
- Command to compile current module in edts-shell HOT 8
- Windows: Could not start main server HOT 2
- project node constantly being reinitialized for each newly opened file HOT 4
- rebar3 mode for filename_to_outdir HOT 1
- EDTS Erlang files are not compiled as part of package installation HOT 4
- How to start edts with many user in 1 machine? HOT 1
- Symbol's value as variable is void: erlang-operators-regexp HOT 3
- EDTS sub package meck fails to compile on OTP 21 HOT 3
- EDTS stopped working when upgrading to OTP21 HOT 2
- edts-20200209.1523 work fail HOT 2
- When compiling MELPA package: can't find include file "otp_workarounds.hrl" HOT 1
- edts-rpc-port hardcoded to 4587
- edts-plugin-disabled-plugins default value and type mismatch HOT 2
- {error,"Release \"edts\" uses non existing application mochiweb"} HOT 6
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 edts.