GithubHelp home page GithubHelp logo

15knots / cmakeed Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 3.0 1.5 MB

CMake Editor Plug-in (moved from https://sourceforge.net/projects/cmakeed)

License: Eclipse Public License 1.0

Java 90.34% CMake 0.15% XSLT 8.43% HTML 0.20% CSS 0.88%
cmake cmake-editor eclipse eclipse-plugin

cmakeed's People

Contributors

15knots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cmakeed's Issues

build error:Missing requirement: org.eclipse.equinox.p2.repository 2.3.100.v20150428-1613 requires 'java.package; javax.crypto 0.0.0' but it could not be found

Source commit: d48f42a 2021-04-22
OS: Ubuntu 20.10
JDK: 15.0.2
Maven: 3.6.3

mvn -f ./parent/pom.xml verify

gives error:

INFO] Resolving dependencies of MavenProject: com.cthing.cmakeed:com.cthing.cmakeed.core:1.1.6 @ /home/user/cmakeed/com.cthing.cmakeed.core/pom.xml
[ERROR] Cannot resolve target definition:
[ERROR] Software being installed: org.eclipse.pde.api.tools.ee.feature.feature.group 1.0.1.v20140424-1723
[ERROR] Missing requirement: org.eclipse.equinox.p2.repository 2.3.100.v20150428-1613 requires 'java.package; javax.crypto 0.0.0' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.equinox.p2.publisher 1.4.0.v20141117-0929 depends on: java.package; org.eclipse.equinox.p2.repository [2.0.0,3.0.0)
[ERROR] Cannot satisfy dependency: org.eclipse.pde.api.tools 1.0.700.v20150513-0819 depends on: osgi.bundle; org.eclipse.pde.core [3.3.102,4.0.0)
[ERROR] Cannot satisfy dependency: org.eclipse.pde.api.tools 1.0.701.v20150831-1041 depends on: osgi.bundle; org.eclipse.pde.core [3.3.102,4.0.0)
[ERROR] Cannot satisfy dependency: org.eclipse.pde.api.tools.ee.cdcfoundation10 1.0.200.v20130327-1631 depends on: osgi.bundle; org.eclipse.pde.api.tools 1.0.300
[ERROR] Cannot satisfy dependency: org.eclipse.pde.api.tools.ee.feature.feature.group 1.0.1.v20140424-1723 depends on: org.eclipse.equinox.p2.iu; org.eclipse.pde.api.tools.ee.cdcfoundation10 [1.0.200.v20130327-1631,1.0.200.v20130327-1631]
[ERROR] Cannot satisfy dependency: org.eclipse.pde.build 3.9.100.v20150521-1524 depends on: osgi.bundle; org.eclipse.equinox.p2.publisher 1.1.0
[ERROR] Cannot satisfy dependency: org.eclipse.pde.core 3.10.100.v20150522-0332 depends on: osgi.bundle; org.eclipse.pde.build [3.2.0,4.1.0)
[ERROR] Cannot satisfy dependency: org.eclipse.pde.core 3.10.101.v20150722-0954 depends on: osgi.bundle; org.eclipse.pde.build [3.2.0,4.1.0)
[ERROR] Cannot satisfy dependency: org.eclipse.pde.core 3.10.102.v20160128-0556 depends on: osgi.bundle; org.eclipse.pde.build [3.2.0,4.1.0)
[ERROR]
[ERROR] Failed to resolve target definition /home/user/cmakeed/com.cthing.cmakeed-target/com.cthing.cmakeed-target.target: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

integrate with the clean project command?

Would be greate to integrate with the clean project command and remove the build directory contents.
I passed a huge time investigating a build error of a third-party project.
In the end it was because wrong values of variables cached in the CMakeCache.txt file that was not deleted when I click on "Project/Clean". I fixed them in the cmake editor but it was not being used.

Change default comment color

Hi,

Just a small improvement suggestion: What do you think about changing the default color for strings:

defaultColor

The dark blue is hard to read in dark modes and I think the brighter color is good to read for both
light mode and dark mode users. Its the bright blue from the top row in the color selector

Kind Regards
Robin

CMake files formatting

CMake files formatting functionality is missing from this plugin.
One option is to enable third party tool to format CMake code in active editor.
There is command line tool which does that: https://github.com/cheshirekow/cmake_format

What about allowing to run arbitrary command on file save?
One could add cmake-format $filename and have it formatted.
How cool is that?

Failed to load p2 metadata repository from location jar:https://dl.bintray.com/15knots/p2-zip/CMakeEd-1.10.0.zip!/

I am using this link in our product update site jar:https://dl.bintray.com/15knots/p2-zip/CMakeEd-1.10.0.zip!/ but it fails to get the p2 metadata.

And, this doesn't happen every time but very frequently I could see this error. Does it mean that https://dl.bintray.com/15knots/p2-zip/CMakeEd-1.10.0.zip!/ is unstable?

Here is the log
org.apache.maven.MavenExecutionException: Failed to resolve target definition /builds/idf/idf-eclipse-plugin/releng/com.espressif.idf.target/com.espressif.idf.target.target: Failed to load p2 metadata repository from location jar:https://dl.bintray.com/15knots/p2-zip/CMakeEd-1.10.0.zip!/ at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:100) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:267) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.eclipse.tycho.core.shared.BuildFailureException: Failed to resolve target definition /builds/idf/idf-eclipse-plugin/releng/com.espressif.idf.target/com.espressif.idf.target.target: Failed to load p2 metadata repository from location jar:https://dl.bintray.com/15knots/p2-zip/CMakeEd-1.10.0.zip!/ at

Broken Installation with Eclipse Photon

Tried to directly install the plugin from Eclipse Marketplace and manually install it using the binary.
Both methods seem to finish fine, but the plugin is not probably installed or something since it doesn't even show up in the "Preference" menu. CMakeLists.txt and *.cmake still open in the default text editor.

Eclipse IDE for C/C++ Developers
Version: Photon Release (4.8.0)
Build id: 20180619-1200

P.s: I tried it with Oxygen and it works out of the box.

There are no color schemes

There are no color schemes and you cannot save and load your own. When reinstalling, you must reconfigure manually. Displays very poorly on dark theme. Is it possible to save your own color scheme?

Artifacts not available

The artifacts seems to be no longer available on the JFrog platform at the link provided in the README. Is there another download link?

Cannot install CMake Editor on last Eclipse C++ (09-2019)

Hi,

I've tried to install CMake Editor through Ecl. Market place but I got error message :
""
Title: Unable to install selected solutions

Msg: The following solutions are not compatible with this version of Eclipse:

List: CMake editor
""
(I have screenshot if needed)

Any idea?

Thks++

PS: My eclipse version:
Eclipse IDE for C/C++ Developers
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200

remove bundled cmake documentation

Reasons to delte bundled cmake documentations are:

  • It is really outdated (cmake 2.8.6).
  • The shell-script to convert cmake HTML doc to Eclipse help format does no longer work and requires maintenance for each new cmake release.
  • Nobody ever complained about the outdated docs.
  • It is just wasting disk-space; user already have the docs installed with cmake.
  • It makes github's language details say: HTML 77.6%.

For the users of CMakeEd: Feel free to vote against this and suggest a better solution...

integrate make targets after cmake to run ?

I always need to call make install manually after cmake do its job. its there any way to set the build in order to automatically call make (or any of make's target) after cmake to run ?

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.