Comments (9)
I miss it :-)
from bndtools.
Some progress towards this. I've added the bndtools.editor.completion package which lifts the functionality from bnd.plugin.editors.BndSourceViewerConfiguration.
Two outstanding problems that need resolving before this is completed.
Firstly I've embedded aQute.bnd.help.Syntax in this package as it is not yet exported from bndlib.
Secondly bndtools.editor.completion.BndScanner has a comment:
// TODO need to move these constants to Constants to avoid the dependency on aQute.bnd.make.component which drags in half the universe
//addWords(ServiceComponent.componentDirectives, bsvc.T_COMPONENT);
from bndtools.
Very nice progress, but the completion is not quite working the way I would like. It does not take account of the prefix already typed. For example the user types the following:
Expo
And then hits Ctrl-Space. We should only show the completions matching that prefix (i.e. Export-Package and Export-Service). If only one possible completion matches the prefix then we can insert it straight away without needing to show a list of proposals.
I have some example code from another project that does this.
from bndtools.
BTW we should raise the other issues (i.e. exporting aQute.bnd.help and moving the ServiceComponent constants) as bugs against bnd.
from bndtools.
Agreed about the prefix string support, I've pushed a patch that supports that. I'll raise issues on bnd shortly...
from bndtools.
Also just spotted I hadn't implemented the case where there is only one possible solution, further patch supplied.
from bndtools.
Something else I noticed. The Eclipse standard .properties file editor colours property names differently from property values. I found this really useful with lines joined together by blackslashes, because if I forgot the backslash then the next line is the wrong colour. Can we do the same?
from bndtools.
I've raised the two bnd issues here:
https://github.com/bnd/bnd/issues/87
https://github.com/bnd/bnd/issues/88
from bndtools.
closing
from bndtools.
Related Issues (20)
- [Bndtools 4.0.0.REL] Error querying repository Central. java.lang.NullPointerException HOT 4
- [Bndtools 4.0.0.REL] Require-Capability: osgi.extender change the minVersion HOT 6
- Eclipse Java Editor cannot not see class inheritance from jdo-enhanced classes in Bndtool project HOT 4
- Remove dead code
- Existing Bnd Workspace import should set classpath settings for test directory in Photon
- Problem with testpath resolution in Bndtools Alpha HOT 2
- Continuous Integration tests don't run continuously HOT 2
- Add support for start levels in bndtools launcher HOT 3
- runproperties are not copied to lanucher HOT 1
- Runtime Classpath is transitive HOT 10
- report unused buildpath and testpath entries HOT 6
- ${if} macro not working correctly in some condition HOT 1
- Template Repository preference validates irrespective of Branch
- Bndrun file editor shows raw filter string HOT 8
- Impossibility to add an exact version of a bundle in bndrun file editor
- Bndrun file editor should allow for run bundles reordering
- OSGiRepository does not seem to refresh when "Refresh Repositories" or "Refresh Repositories Tree" is pushed HOT 9
- Error at end of resolve if bndrun editor closed during resolution HOT 2
- Fragment Requirements Not Shown
- On Java 11 bnd issues many HttpClient processes do download JRE classes such as `Download jrt:/java.base/java/lang/Iterable.class` 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 bndtools.