[platform-dev] Extending default theme

2020-04-15 Thread Gayan Perera
Hi All, I really don't like the rounded tabs in tab folders in eclipse default theme. But i would prefer also not to install something heavy like DevStyle theme which has lot of runtime weaving involved. I would like to extends both light and dark themes and have my own theme which only adjust

Re: [platform-dev] Enabling spell editor on a customer editor

2020-03-31 Thread Gayan Perera
the spell checker code and we have a long > outstanding bug to move this functionality to text to make it available for > more editors. > > Best regards, Lars > > Gayan Perera <*gayan...@gmail.com* > schrieb am Mo., > 30. März 2020, 20:42: > Hi, > > I'm trying to en

Re: [platform-dev] Enabling spell editor on a customer editor

2020-03-31 Thread Gayan Perera
. > > Anyway, take a look at > https://help.eclipse.org/2020-03/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_workbench_texteditor_spellingEngine.html > > HTH > Dani > > > > From:Gayan Perera > To:

Re: [platform-dev] Enabling spell editor on a customer editor

2020-03-31 Thread Gayan Perera
Hi Lars, Is just moving the code, do we need any approvals or anything like that ? Br, Gayan. On Tue, 31 Mar 2020 at 14:28, Lars Vogel wrote: > Would be great if the engine can be moved. > > On Tue, Mar 31, 2020 at 1:41 PM Gayan Perera wrote: > > > > Hi Daniel,

[platform-dev] Enabling spell editor on a customer editor

2020-03-30 Thread Gayan Perera
Hi, I'm trying to enable spell editing on the customer editor which is written on top on TextEditor. How do i enable spell check on this editor. I'm trying to make a contribution to

Re: [platform-dev] Comments on API to remove

2020-05-24 Thread Gayan Perera
How about introducing an annotation? We could add warnings in api analysis as well. Br, Gayan On Sun, 24 May 2020 at 14:00, Lars Vogel wrote: > Hi Jens, > > I think it is a good idea so that we document this for the users and > the committers directly in the source code but this is not

[platform-dev] Getting a list of files that are modified in given project

2020-10-05 Thread Gayan Perera
Hi All, I'm trying to implement a plugin to perform code cleanup and import organizing only for modified files in a given project(s). I would like to do it SCM agnostic way so that the feature can work with any VCS that is supported by eclipse. What are the platform API i can use to get list file

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
e sources! That is why your bundle does not start. > > Gayan Perera schrieb am So., 25. Okt. 2020, 18:13: > >> Hi Dirk, >> Yes PDE annotation are enabled. >> The xml generated inside OSGI-INF looks like this >> >> ** >> >> *<**scr:compone

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
Ok Now my Hook is called, but it is called for all classes, I would only like to weave the ImageDescriptor class, is there a way i can tell only call my hook for jface bundle only ? Gayan. On Sun, Oct 25, 2020 at 7:04 PM Gayan Perera wrote: > Nice the p2.inf did the trick. > > T

[platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
Hi, I’m trying to register a weavinghook using services descriptors. I annotated my weavinghook class with component annotation and inhave the osgi folder with the service descriptor xml in place. The osgi folder is included in build.properties as well. But the weavinghook is not getting called.

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
the bundle activation > policy should be lazy by default. And also the @Component annotation is > processed correctly. > > Gayan Perera schrieb am So., 25. Okt. 2020, 17:59: > >> Hi Wim, >> >> No the bundle is not getting started, i thought exposing the service >> des

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
d startlevel=1 > > If you bundle is just an eclipse-plugin you would need to provide a > p2.inf to configure appropriate start-levels and edit your runconfig > accordingly. > > Am 25.10.20 um 18:48 schrieb Gayan Perera: > > Hi Christoph, > > > > How can i

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
Hi, > > Is the bundle started? > > Cheers, > > Wim > > On Sun, Oct 25, 2020 at 1:58 PM Gayan Perera wrote: > >> Hi, >> >> I’m trying to register a weavinghook using services descriptors. I >> annotated my weavinghook class with component annotation and inh

Re: [platform-dev] Using WeavingHook in eclipse

2020-10-25 Thread Gayan Perera
Nice the p2.inf did the trick. Thanks all. On Sun, Oct 25, 2020 at 6:56 PM Gayan Perera wrote: > Thanks Christoph, > Mine is a eclipse plugin, i will try to p2.inf approach. > > Gayan. > > > On Sun, Oct 25, 2020 at 6:52 PM Christoph Läubrich > wrote: > >&

[platform-dev] using images from Platform

2020-06-12 Thread Gayan Perera
Hi All, I have few questions: - How i can reuse icons from the platform ? - And Is there a hour glass icon already in platform which i can use in my plugin ? - If i'm adding my own icons can i add svg ? How to load them as Images ? Br. Gayan. ___

Re: [platform-dev] using images from Platform

2020-06-14 Thread Gayan Perera
1. Create svg image. >2. Commit this svg image to platform images repo. >3. Follow README.md > > <https://git.eclipse.org/c/platform/eclipse.platform.images.git/tree/org.eclipse.images/README.md> >to generate necessary png images. > > > > Hopefu

Re: [platform-dev] Running multiple instances of eclipse in MacOS

2020-12-07 Thread Gayan Perera
Thanks everyone. I think i will give the plugin a try. If it doesn't work i will try the other options . Best regards, Gayan. On Tue, 8 Dec 2020 at 02:20, Mykola Nikishov wrote: > Hi, > > Gayan Perera writes: > > > Do you have any workarounds to get multiple instances o

Re: [platform-dev] Running multiple instances of eclipse in MacOS

2020-12-08 Thread Gayan Perera
Noopur Gupta: > > It will be nice to integrate this plug-in into the Eclipse IDE. > > An option to "Open Workspace" in the menu will be useful for other > > platforms also. > > Regards, > > Noopur > > > > - Original message - > >

[platform-dev] Running multiple instances of eclipse in MacOS

2020-12-07 Thread Gayan Perera
Hi Friends, Do you have any workarounds to get multiple instances on the same eclipse installation for different workspaces on MacOS. Or may be a plugin that i can use ? Best regards, Gayan. ___ platform-dev mailing list platform-dev@eclipse.org To

[platform-dev] December 23 I-build not executable on MacOS

2020-12-24 Thread Gayan Perera
Hi Friends, Merry Christmas to you all Just want to let you know that the 4.19 I-build on Dec 23rd is not executable on MacOS Big Sure. After installing is shows overlay icon like this on the App icon 1200px-ProhibitionSign2.svg.png

[platform-dev] Support for adding multiple breakpoints in the same line.

2020-11-23 Thread Gayan Perera
Hi all, I was wondering if platform debug has support to provide multiple debug breakpoints on a single line. The idea is to add support for adding breakpoints for lambda expressions. There is also similar support in vscode when adding debug points in lambda functios. Best regards, Gayan

Re: [platform-dev] December 23 I-build not executable on MacOS

2020-12-25 Thread Gayan Perera
ork.git/commit/?id=2131d5af10092b006915c28e0bae7b9dac8fefea > > > > Kind regards, > Andrey Loskutov > > Спасение утопающих - дело рук самих утопающих > > https://www.eclipse.org/user/aloskutov > > > > > > *Gesendet:* Donnerstag, 24. Dezember 2020 um 20:50 Uhr &g

Re: [platform-dev] I-Builds repo is not current

2021-01-06 Thread Gayan Perera
Hi Wim, I use https://download.eclipse.org/eclipse/updates/4.19-I-builds/ which works fine for me. Best regards, Gayan. On Wed, 6 Jan 2021 at 15:31, Wim Jongman wrote: > Hi, > > Until recently I was updating from the i-build update site. It does not > contain the 4.19 i-builds. > > Did this

[platform-dev] Building platform.swt locally

2021-05-09 Thread Gayan Perera
Hi all, I'm working on https://bugs.eclipse.org/bugs/show_bug.cgi?id=573016 and just want to make a local build of org.eclipse.swt and get the jar file to patch my eclipse installation. I have a bash script which can create a patch jar which will only contain the classes in the commit. So i can

Re: [platform-dev] Building platform.swt locally

2021-05-09 Thread Gayan Perera
Hi all, I found it here https://www.eclipse.org/swt/faq.php#howbuildjar and used the Ant build target for now. Let me know if this can be done using maven as well. Best regards, Gayan. On Sun, May 9, 2021 at 12:31 PM Gayan Perera wrote: > Hi all, > I'm working on https://bugs.eclipse.or

[platform-dev] Guideline for building a JDT patch updatesite with tycho

2021-05-27 Thread Gayan Perera
Hi all, I'm trying to build a eclipse JDT feature patch using tycho. I have added the required patched JDT plugins into my parent pom. Even the site get created, when i installed the patch it doesn't patch my i-build eclipse installation. is there a guideline or sample patch site which handle

[platform-dev] Code mining changes

2021-03-25 Thread Gayan Perera
Hi all, Was there a recent change is code mining which can result in glitches in source code editor. I’m getting this line duplications when adding new imports. I notice this in 4.20 i-build not sure if its present in 4.19 as well. Best regards, Gayan.

Re: [platform-dev] Code mining changes

2021-03-26 Thread Gayan Perera
Hi Mickael, I think the current inconsistencies i see is due to one code mining implementation which is testng. I tried with junit from the old jdt plugin and jdt minings they don’t cause this issue. So i will look into the problem more closer and come back to you if need any help. Best regards,

[platform-dev] content assist selection background color

2021-08-10 Thread Gayan Perera
Hi all, I tried to see if the selection background color or content assist popup can be changed to make it more visible in dark themes. Specifically on windows the selection background color is barely visible. I have some suggestions in this issue

[platform-dev] Eclipse on M1 Macbooks

2021-10-08 Thread Gayan Perera
Hi all, This is not really a Eclipse platform question. But i'm considering into switching into a Apple MacBook M1 or the upcoming M1X. But since i work with Eclipse, i would like to know if there are members who are already successfully developing on Eclipse using M1. Specially working on

Re: [platform-dev] Eclipse on M1 Macbooks

2021-10-08 Thread Gayan Perera
om 10.x to 11.x and the the margins and > padding of various built-in UI components are not the same. > > On Fri, Oct 8, 2021 at 9:39 AM Gayan Perera wrote: > >> Hi all, >> >> This is not really a Eclipse platform question. But i'm considering into >> switching into a App

Re: [platform-dev] Umbrella bug for MacOS M1 issues?

2021-10-01 Thread Gayan Perera
This could be the root issue your are looking for https://bugs.eclipse.org/bugs/show_bug.cgi?id=572797 Best regards, Gayan On Fri, 1 Oct 2021 at 12:39, Thomas Singer wrote: > Hello, > > Is there some high-level bug combining all SWT bugs that are unique to > ARM64/M1 on MacOS 11? I have 2

Re: [platform-dev] Adding new menus using the menuContribution extension point into Search menu

2022-03-07 Thread Gayan Perera
, Gayan. On Mon, 7 Mar 2022 at 11:36, Wim Jongman wrote: > Can't you also redefine the dialogGroup in your stub menu? > > Cheers, Wim > > On Sun, 6 Mar 2022 at 12:08, Gayan Perera wrote: > >> Hi all, >> >> I'm trying to insert a new sub menu in to searc

Re: [platform-dev] Adding new menus using the menuContribution extension point into Search menu

2022-03-07 Thread Gayan Perera
Hi Mickael, According to eclipse forum posts, the actionsets are processed after processing the menuContribution. What i found is that when my menu contribution are getting processed there is no search menu. Not sure from which it get contributed because i see that JDT also has a menu definition

[platform-dev] Adding new menus using the menuContribution extension point into Search menu

2022-03-06 Thread Gayan Perera
Hi all, I'm trying to insert a new sub menu in to search menu using the menuContribution extension point. I want to insert my sub menu just after the dialogGroup in the search menu. But seems like the search menu is not available when my menuContributions are processed. Even though i can

Re: [platform-dev] Adding new menus using the menuContribution extension point into Search menu

2022-03-08 Thread Gayan Perera
reason. May be going forward we should move JDT to menuContribution extension. Best regards, Gayan. On Mon, Mar 7, 2022 at 8:25 PM Gayan Perera wrote: > Hi Wim, > > I tried this, but still my submenu ends up at the top. I guess if that to > work i might need to find all such

Re: [platform-dev] Milestones for Releases

2022-04-04 Thread Gayan Perera
Hi all, Could we use a placeholder project for capturing all JDT issues inside the eclipse-jdt organization ? That way we can use inbuilt github milestones and labels to filter issues ? Best regards, Gayan. On Mon, Apr 4, 2022 at 6:53 PM Aleksandar Kurtakov wrote: > > > On Mon, Apr 4, 2022 at

Re: [platform-dev] Turn on protected branches?

2022-03-29 Thread Gayan Perera
Hi All, It would be really good if we can enforce ff-merge only to avoid hard to trace history graphs. Best regards, Gayan. On Tue, 29 Mar 2022 at 20:25, Jonah Graham wrote: > There seems to be broad agreement, so I have gone ahead and raised >

[platform-dev] New vscode light theme for eclipse

2022-05-29 Thread Gayan Perera
Hi all, I was asked by Mickael Istria to share this plugin which I worked on to bring vscode light theme styles into Eclipse IDE. Please let me know what you think about it and if it is a good idea to make it part of the default themes Eclipse provides. It's still in early stages, I have only

[platform-dev] Better spellings support for code editors

2022-06-25 Thread Gayan Perera
Hi All, i recently came across a vscode Code spelling plugin which support most of the language constructs in language such as Java and Typescript from my usage. When i looked into the source code, I found it has been implemented as a LS. So i was wondering to implement a plugin for this with a

Re: [platform-dev] New Eclipse IDE New and Noteworthy page

2022-05-05 Thread Gayan Perera
if possible to switch easily +1 for Jorg's suggestion Best regards, Gayan. On Thu, May 5, 2022 at 7:05 PM Jörg Kubitz wrote: > How about using a markdown .md page instead of xhtml for N, as it > could be edited directly on github with githubs editor? Making it easier > to add images, avoid

[platform-dev] Making a copy of dark swt theme

2022-08-25 Thread Gayan Perera
Hi all, I’m working on a custom theme which imitate vscode. For the dark version of it, I thought to use the eclipse dark theme files as the base and change colors. Also cherry picking dark syntax colors from different plugins as well. How this will effect with the licensing? And if i still want

[platform-dev] Reusing generic editor features in JDT

2022-09-07 Thread Gayan Perera
Hi all, I see that generic editor is getting more features similar to vscode editor with tm4e. Is there a way that we can slowly migrate jdt editor to use the generic editor ? Any ideas or hints ? I’m mainly focused on having mote generic views and editors features in eclipse platform to make

Re: [platform-dev] Reusing generic editor features in JDT

2022-09-07 Thread Gayan Perera
Hi Mickael, Thanks for the feedback, do we have support in the lsp4e to start a LS in-process? Specially if the LS implementation is java ? Best Regards, Gayan. On Wed, 7 Sep 2022 at 12:15, Mickael Istria wrote: > > > On Wed, Sep 7, 2022 at 11:56 AM Gayan Perera wrote: > >&g

Re: [platform-dev] Reusing generic editor features in JDT

2022-09-07 Thread Gayan Perera
Thats a real positive feedback Mickael. Thanks alot for sharing. I will try to find some time to look at your pointers and may be setup a new repo as POC thing. Best Regards, Gayan. On Wed, 7 Sep 2022 at 14:56, Mickael Istria wrote: > > > On Wed, Sep 7, 2022 at 2:29 PM Gayan Pere

Re: [platform-dev] Reusing generic editor features in JDT

2022-09-07 Thread Gayan Perera
java on eclipse isn’t it ? When looking more and more extensions for java echo system is popping up and eclipse extensions are rarely updated. Best regards, Gayan. On Wed, 7 Sep 2022 at 14:00, Mickael Istria wrote: > > > On Wed, Sep 7, 2022 at 12:39 PM Gayan Perera wrote: &g

[platform-dev] Patching folders of a plugin

2022-08-01 Thread Gayan Perera
Hi all, I was wondering if there is a feature that enable us to just patch part of a plugin. The idea is just replacing the icon folder of a plugin at resource loading level by another plugin. I know we have support for feature patching, but thats too heavy to just patch some resources like icons

Re: [platform-dev] Reusing generic editor features in JDT

2022-11-19 Thread Gayan Perera
Hi all, This is really good news. If we can phase out jdt.ui and may be make it a light weight UI layer just to support additional custom JDT protocol parts in LSP, the JDT.LS will heavily benefit since we don't need to always change both jdt.ui and jdt.ls when we need to implement a new feature.