Comments (13)
@ilg-ul do you think org.eclipse.embedcdt.core
bundle could be good new home for GnuMcuPropertyTester
to fix the reported problem?
from eclipse-plugins.
You mean to relocate the definition of isGnuMcu
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.embedcdt.managedbuild.cross.core.GnuMcuPropertyTester"
id="org.eclipse.embedcdt.managedbuild.cross.core.propertyTester"
namespace="org.eclipse.embedcdt.managedbuild.cross.core"
properties="isGnuMcu"
type="java.lang.Object">
</propertyTester>
</extension>
from org.eclipse.embedcdt.managedbuild.cross.core
to org.eclipse.embedcdt.core
?
I guess we can do this. Are there any compatibility issues?
from eclipse-plugins.
I took a second look, and apparently the reason behind this tester is to enable the properties pages only for GNU MCU projects. It checks some substrings in options ids.
If these checks run the same when invoked from org.eclipse.embedcdt.core
, instead of relocating the definition, probably a better idea would be to add a new property tester (like isEmbeddedCdt
), and update the references in the debug plug-ins.
I'm a bit rusty on these details, so any suggestions are welcome.
from eclipse-plugins.
My 2 cent
It is probably lots easier to use/create a GNU MCU projects nature (which is dependent on the org.eclipse.cdt.core.cnature)
and filter on the GNU MCU projects nature instead of org.eclipse.cdt.core.cnature and remove the enabled when
from eclipse-plugins.
It is probably lots easier to use/create a GNU MCU projects nature (which is dependent on the org.eclipse.cdt.core.cnature)
It would be easier in the beginning, now it is harder, since people already have a lot of existing projects that don't have this nature and adding a nature now will add even more problems to solve.
from eclipse-plugins.
It would be easier in the beginning, now it is harder, since people already have a lot of existing projects that don't have this nature and adding a nature now will add even more problems to solve.
I'm not fully agreeing here. Adding a nature is not that hard and as you can verify whether a project is a gnu mcu project you can create a listener and add the nature at project open if it is missing.
from eclipse-plugins.
Adding a nature is not that hard
IIUC the issue is not adding a nature for new projects, but that we still need the other version as all user's existing projects won't have the nature. Is that what you were referring to @ruspl-afed?
from eclipse-plugins.
If you need to have both nature-independent check with listener and nature-based processing you pay twice for the same functionality, isn't it?
Please don't get me wrong, personally I prefer natures, but this functionality is for Embedded Developers who will hardly value Eclipse-style design but will be very frustrated because of any change on their data (and .project
that holds natures is a part of user data).
as all user's existing projects won't have the nature. Is that what you were referring to @ruspl-afed?
exactly @jonahgraham
from eclipse-plugins.
Any suggestion on how to proceed with this issue?
Would adding a new tester like isEmbeddedCdt
to the core plug-in and leaving the current tester as deprecated be acceptable?
from eclipse-plugins.
Would adding a new tester like isEmbeddedCdt to the core plug-in and leaving the current tester as deprecated be acceptable?
If openocd plugin would reference isEmbeddedCdt tester; to me that would be fine as IMHO openocd plugin has a dependency on core plugin in the manifest file.
from eclipse-plugins.
Fixed on 2023-07-24.
from eclipse-plugins.
Fixed on 2023-07-24.
from eclipse-plugins.
Thanks
from eclipse-plugins.
Related Issues (20)
- Support enhanced GNU Tool Factory capabilities introduced in CDT 11.2.0 HOT 5
- Feature request: add option to connect to a different OpenOCD port HOT 40
- Global RISC-V Toolchains name does not change with dropdown box HOT 54
- Feature request: add live watch support when debug in eclipse ide HOT 12
- Review the logic for setting the PATH with preferXpacksBin HOT 7
- GDB fails when workspace path has extended ASCII characters HOT 8
- 'xpm' is not recognized as an internal or external command HOT 1
- Is it possible to set the timeout when gdb server (such as openocd) starts? HOT 1
- Install CMSIS Pack from local .pack file? HOT 4
- How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group HOT 1
- Feature request: Add a checkbox to enable group linked library HOT 25
- embed-CDT cannot start openocd normally HOT 2
- make: unknown option -- jobserver-auth=gmake_semaphore_172 when using post-build steps HOT 16
- "Interrupt failed" occurred when using GDB OpenOCD Debugging HOT 5
- Error during update: No repository found at http://gnu-mcu-eclipse.netlify.com/v4-neon-updates. HOT 4
- EmbedCDT should compile with SimRel 2024-06 HOT 4
- GD32F303 SVD BUG not show HOT 9
- GD32F303 Register has no contents
- debug topToRemove bug HOT 7
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 eclipse-plugins.