admin管理员组文章数量:1391955
How can I install the CSS Spy in 2025 or how can I otherwise easily inspect the effective CSS?
Context: After skipping several versions, I just installed successfully the 2025-03 Eclipse bundle and somehow got the most important plugins installed and migrated my workspace. However, I also have some custom styling, which seemingly needs some minor tweaks. In the past, you could use the "CSS Spy". There used to be a menu entry in the "Windows" menu (something with "Spy"), and there was a keybinding ALT-SHIFT F5
to open the inspector view. I know that this was related to the "E4 tools project", but I'm unable to find any Update-Site, or any helpful information. Search engines turn up obsolete information or lead to archived projects. The Eclipse Market Place offers only some installation that is no longer compatible.
How can I find out where this functionality has moved? Or is there something similar available to just inspect the effective CSS today?
How can I install the CSS Spy in 2025 or how can I otherwise easily inspect the effective CSS?
Context: After skipping several versions, I just installed successfully the 2025-03 Eclipse bundle and somehow got the most important plugins installed and migrated my workspace. However, I also have some custom styling, which seemingly needs some minor tweaks. In the past, you could use the "CSS Spy". There used to be a menu entry in the "Windows" menu (something with "Spy"), and there was a keybinding ALT-SHIFT F5
to open the inspector view. I know that this was related to the "E4 tools project", but I'm unable to find any Update-Site, or any helpful information. Search engines turn up obsolete information or lead to archived projects. The Eclipse Market Place offers only some installation that is no longer compatible.
How can I find out where this functionality has moved? Or is there something similar available to just inspect the effective CSS today?
Share Improve this question asked Mar 14 at 4:12 IchthyoIchthyo 8,3913 gold badges31 silver badges35 bronze badges 5 |1 Answer
Reset to default 0To summarise (for later referrence)...
A Spy is a diagnostic view in Eclipse to inspect internals of the Eclipse E4 platform, like the application model, injection contexts, preferences, events and actual CSS. Especially the CSS Spy can be used to dynamically select a view component and see the actual styles applied. A CSS fragment can be generated to capture the effective CSS for that element. Properties can be changed dynamically, and there is an associated view, the CSS Scratch Pad to try out new CSS rules immediately.
The Spies were developed as part of the E4 tools project, which at that time (2009) was started to help bootstrap the transition to the new Eclipse-4 platform. This goal was achieved, and thus the E4 tools project is archived and not actively maintained anymore. However, the Spies continue to be very helpful, and for some time, there used to be externally maintained update sites, and even a feature that could be installed from the Market Place. All these are obsolete and should not be installed any more.
Since the 2022-06 Eclipse release, the Spies were factored out and integrated into the Plugin Development Environment (PDE Project). Notably there is a feature .eclipse.pde.spies-feature, allowing to install only the Spies.
Note
- By default, this feature is only included in the EPP packages for RCP and RAP and plugin development. For the typical developer bundles (e.g. C++), you need to install this feature explicitly
- Please ensure that you have the update site for the current SimRel added to your software sources (Help > Install new Software > Manage...).
- For Eclipse 2025-03 this is
https://download.eclipse./releases/2025-03
- It is not sufficient to use only the general »latest SimRel« URL !
- For Eclipse 2025-03 this is
- Then look into the "General Purpose Tools" section or search for "spies" (not "spy" !)... There should be a feature called "Eclipse plug-in development environment spies"
- After successful installation, there should be a sub-Menu Window>Spies
- There is a description in the Tips-and-Tricks Section of the »Plugin Development Environment Guide«
- I found a detailed description in some Slides from Eclipse-Con 2022
本文标签: Install CSS Spy to inspect Eclipse stylesStack Overflow
版权声明:本文标题:Install CSS Spy to inspect Eclipse styles - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744673953a2618996.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
https://download.eclipse./releases/2025-03
– greg-449 Commented Mar 14 at 7:53.eclipse.pde.spies
. Also the Eclipse IDE for RCP and RAP Developers contains the spies, but maybe you installed a different IDE package like the Eclipse IDE for Java Developers without the spies. – howlger Commented Mar 14 at 8:40