Comments (16)
Can you give more details what should that be? Should it complete paths inside strings or what exactly?
from compliment.
Yeah, my idea was it should complete paths in strings. Imagine:
(resource "prefix|")
You'd get all the resource names starting with prefix.
from compliment.
Should it complete one directory at a time (like hippie-expand does), or the candidates should be full resource names right from the beginning?
from compliment.
Hmm, I was thinking about full resource paths (as it's easier to reuse those in ido).
from compliment.
Wait, is there even a way to get all resources in a classloader? The answers I found so far are very contrived.
from compliment.
No idea. Haven't really research the matter - I just assumed something like this should be possible.
from compliment.
Another concern is do we want to show all resources (e.g. in jars), or just the ones that are actually in the current project.
from compliment.
It it. There seem to be a lot of resources in Java itself, don't know how useful are those.
from compliment.
Ok, let's just show the ones in the project.
from compliment.
One more thing: by default AC does not initiate completion if it is started inside a string. What about company-mode?
from compliment.
company-mode does completions inside strings out of the box.
On 20 April 2015 at 12:39, Alexander Yakushev [email protected]
wrote:
One more thing: by default AC does not initiate completion if it starts
inside a string. What about company-mode?—
Reply to this email directly or view it on GitHub
#24 (comment)
.
Best Regards,
Bozhidar Batsov
from compliment.
Done, please see my comment in clojure-emacs/cider#1062
from compliment.
user> (compliment.sources.resources/resources-by-prefix "")
("meta-index" "META-INF/maven/cider/cider-nrepl/pom.properties")
This doesn't look totally right. I can find a file called meta-index
and pom.properties
is in the target directory of the lein project.
from compliment.
@alexander-yakushev ping
from compliment.
This doesn't look totally right. I can find a file called meta-index and pom.properties is in the target directory of the lein project.
Still they are considered as project resources by the way they look on the classpath. We can remove them two specifically, but who cares? Besides it is easier to test this functionality when you have them. Otherwise Compliment has no other resources.
from compliment.
OK
On 25 April 2015 at 18:13, Alexander Yakushev [email protected]
wrote:
This doesn't look totally right. I can find a file called meta-index and
pom.properties is in the target directory of the lein project.Still this is considered as project resources by the way they look on the
classpath. We can remove them two specifically, but who cares? Besides it
is easier to test this functionality when you have them. Otherwise
Compliment has no other resources.—
Reply to this email directly or view it on GitHub
#24 (comment)
.
Best Regards,
Bozhidar Batsov
from compliment.
Related Issues (20)
- No completions for locals if context contains qualified keyword with dot in the name HOT 2
- Suggest private vars when using var-quote? HOT 2
- utils/classes-on-classpath can return non-classes HOT 5
- String literals aren't inferred as strings HOT 6
- Give `some->`/`some->>` similar treatment than that of `->`/`->>` HOT 2
- Type inference from static method calls HOT 1
- License on compliment lite HOT 1
- Good completion suggestions require extra type hints HOT 2
- compliment.sources.class-members could add the class to its candidates HOT 4
- Interest in cljs-ish completions? HOT 2
- No completion for locals when hashset literal is used within short lambda syntax HOT 5
- Determining if the prefix is being called within a given function/macro HOT 2
- is there an example how to use `compliment` within emacs but without cider? HOT 2
- Too many completions for Java objects HOT 3
- Don't offer completions for `^:deprecated` vars? HOT 7
- Some of the latest changes are missing in the released version HOT 7
- ns completions for cljc-files HOT 2
- Doc of ns via alias HOT 3
- proposal: completion and documentation with leading literals HOT 7
- var-quote completions without a ns part HOT 2
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 compliment.