Giter VIP home page Giter VIP logo

Comments (16)

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

Can you give more details what should that be? Should it complete paths inside strings or what exactly?

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024

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.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

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.

bbatsov avatar bbatsov commented on June 14, 2024

Hmm, I was thinking about full resource paths (as it's easier to reuse those in ido).

from compliment.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

Wait, is there even a way to get all resources in a classloader? The answers I found so far are very contrived.

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024

No idea. Haven't really research the matter - I just assumed something like this should be possible.

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024

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.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

It it. There seem to be a lot of resources in Java itself, don't know how useful are those.

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024

Ok, let's just show the ones in the project.

from compliment.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

One more thing: by default AC does not initiate completion if it is started inside a string. What about company-mode?

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024

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

http://www.batsov.com

from compliment.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

Done, please see my comment in clojure-emacs/cider#1062

from compliment.

bbatsov avatar bbatsov commented on June 14, 2024
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.

bbatsov avatar bbatsov commented on June 14, 2024

@alexander-yakushev ping

from compliment.

alexander-yakushev avatar alexander-yakushev commented on June 14, 2024

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.

bbatsov avatar bbatsov commented on June 14, 2024

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

http://www.batsov.com

from compliment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.