www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Dexed dark mode

reply chopchop <fakeaddress.chop gmail.com> writes:
Hi people,

Working on Windows, I have switched from notepad++ & command line 
to Dexed, for a small project. It is indeed an improvement, 
particularly the DScanner feature and of course the one-key build.

Also feedback: I have used VSCode + D plugin in the past on 
Linux. It was fine but honestly it felt a bit complicated for 
small projects which are Dlang only, while Dexed is one-clic 
install.

Anyway, to the point.
There are quite a few options for highlighting, but I am 
wondering if there is a "dark mode" option somewhere that I have 
missed. Or, if someone has a configuration for highlighting which 
is darkmodish...

thanks
Dec 24 2021
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
Here is his reply from IRC (after you left):

[01:37:57] <opDispatch> hi, only on linux.
[01:38:17] <opDispatch> it's because that depends on the widgetsets.
[01:38:30] <opDispatch> so on linux this is possible thnaks to gtk / Qt
[01:38:52] <opDispatch> but on windows this is not possible because 
native controls (aka WinControls) dont support theming
[01:39:11] <opDispatch> well... in the ancinet times there was uxtheme 
patcher ;)
[01:39:17] <opDispatch> ancient times
[01:39:20] <opDispatch> very ancient
Dec 24 2021
parent reply Chris Piker <chris hoopjump.com> writes:
On Friday, 24 December 2021 at 17:45:21 UTC, rikki cattermole 
wrote:
 Here is his reply from IRC (after you left):

 [01:37:57] <opDispatch> hi, only on linux.
 [01:38:17] <opDispatch> it's because that depends on the 
 widgetsets.
 [01:38:30] <opDispatch> so on linux this is possible thnaks to 
 gtk / Qt
 [01:38:52] <opDispatch> but on windows this is not possible 
 because native controls (aka WinControls) dont support theming
 [01:39:11] <opDispatch> well... in the ancinet times there was 
 uxtheme patcher ;)
 [01:39:17] <opDispatch> ancient times
 [01:39:20] <opDispatch> very ancient
About that dark mode on Linux... any idea how we trigger it? I see that Dexed isn't picking up the Qt theme from my desktop settings, also dexed --help doesn't produce any command line options, and a search on "dexed dlang dark mode" only brings up this thread. If I can get dexed setup as my standard D IDE, I'll certainly "buy a copy" (aka make a donation). Currently it's the only program on my desktop that I've not been able to coerce into dark mode so far. In general dexed is looking quite promising indeed.
Mar 04 2023
parent Basile B. <b2.temp gmx.com> writes:
On Saturday, 4 March 2023 at 20:15:44 UTC, Chris Piker wrote:
 On Friday, 24 December 2021 at 17:45:21 UTC, rikki cattermole 
 wrote:
 Here is his reply from IRC (after you left):

 [01:37:57] <opDispatch> hi, only on linux.
 [01:38:17] <opDispatch> it's because that depends on the 
 widgetsets.
 [01:38:30] <opDispatch> so on linux this is possible thnaks to 
 gtk / Qt
 [01:38:52] <opDispatch> but on windows this is not possible 
 because native controls (aka WinControls) dont support theming
 [01:39:11] <opDispatch> well... in the ancinet times there was 
 uxtheme patcher ;)
 [01:39:17] <opDispatch> ancient times
 [01:39:20] <opDispatch> very ancient
About that dark mode on Linux... any idea how we trigger it? I see that Dexed isn't picking up the Qt theme from my desktop settings
It is because the linux build is based on gtk2 so you have to select the right gtk theme. You mention QT so I will assume that you have a Plasma DE. This is how you can select the GTK theme : $ kcmshell5 kcm_style At the bottom there's a button with a text mentioning gtk and Gnome. Click and select a dark gtk theme. If you dont use plasma then see also https://www.reddit.com/r/linuxquestions/comments/rentij/bspwm_how_do_i_change_the_gtk_theme_from_the/ For example, this is how it looks with the Arc-Dark theme https://c.gmx.com/ 558129942915716568/juXG51_iQMGiTfJgAPgBeA
 In general dexed is looking quite promising indeed.
To be frank nowadays it's only maintained and fixed.
Mar 18 2023