You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you used the debugging guide to try to resolve the issue?
Have you checked our FAQs to make sure your question isn't answered there?
Have you checked to make sure your issue does not already exist?
Have you checked you are on the latest release of Pulsar?
What happened?
I was following the Creating a syntax theme instructions (with some slight modifications as one of the referenced files no longer exists) and I encountered this paragraph:
You can avoid reloading to see changes you make by opening an Pulsar window in Dev Mode. To open a Dev Mode Pulsar window, run pulsar --dev . in the terminal or use the View > Developer > Open in Dev Mode menu. When you edit your theme, changes will instantly be reflected!
I tried to follow those steps but did not meet with success on two Linux distributions (Void Linux and Xubuntu). It did work on Windows 10, however.
Pulsar version
1.121.0
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
Xubuntu 24.04.1
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
On Xubuntu 24.04.1 (this was actually a qemu guest VM running on top of an Intel x86_64 machine), install Pulsar via this .deb. After downloading, I used sudo dpkg -i Linux.pulsar_1.121.0_amd64.deb and followed the prompts.
Launch pulsar.
Bring up the command palette and execute the Package Generator: Generate Syntax Theme command.
Choose a path (I chose /home/user/src/motify-syntax) and press the Enter key and wait for the dialog to go away.
Exit pulsar, cd ~/src/motify-syntax and start pulsar in dev mode via pulsar --dev ..
Bring up settings via Ctrl+, and choose the Themes tab.
Select Motif as the Syntax Theme and wait for the theme to be reflected (I noticed a slight change in color).
Open the motif-syntax/styles/editor.less file via the tree view.
Locate the line beginning .gutter (line 19 in my case), duplicate the line below it that starts background-color: and comment the line out.
Modify the uncommented version of the line to be background-color: @red;.
Save the file.
Observe that the gutter's color has not changed.
Additional Information:
The last step above (step 12), is the one with an unexpected outcome. The expected outcome was to see the gutter color change.
By manually executing the Window: Reload command and waiting, I was able to observe that the gutter's color had changed.
Also, step 12 on Windows 10 resulted in a different outcome. Expectations were met, i.e. the gutter color did change there.
The following two messages were noticed via the Developer Tools console:
/home/user/src/pulsar/node_modules/pathwatcher/lib/main.js:91 The handle(2) returned by watching /home/user/.pulsar/packages/motif-syntax/styles is the same with an already watched path(/home/user/src/motif-syntax/styles)
HandleWatcher.start @ /home/user/src/pulsar/node_modules/pathwatcher/lib/main.js:91
/home/user/src/pulsar/node_modules/pathwatcher/lib/main.js:91 The handle(1) returned by watching /home/user/.pulsar/packages/motif-syntax/styles/editor.less is the same with an already watched path(/home/user/src/motif-syntax/styles/editor.less)
HandleWatcher.start @ /home/user/src/pulsar/node_modules/pathwatcher/lib/main.js:91
Note the mention of pathwatcher.
I retried following the steps above except invoking pulsar --dev . from ~/.pulsar/packages/motif-syntax instead and didn't encounter the issue (i.e. gutter color did change upon saving).
It seems possible that symlinks might have something to do with this situation.
AFAIU, pathwatcher has native bits (not sure if that's an appropriate link).
There are pathwatcher_*.cc files for linux, unix, and windows so perhaps differences in behavior may be partly due to differences in implementation.
P.S. I failed to determine how to reproduce this issue using safe mode, but I didn't know how to successfully submit this issue without checking the checkbox (^^;
The text was updated successfully, but these errors were encountered:
Thanks in advance for your bug report!
What happened?
I was following the Creating a syntax theme instructions (with some slight modifications as one of the referenced files no longer exists) and I encountered this paragraph:
I tried to follow those steps but did not meet with success on two Linux distributions (Void Linux and Xubuntu). It did work on Windows 10, however.
Pulsar version
1.121.0
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
Xubuntu 24.04.1
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
sudo dpkg -i Linux.pulsar_1.121.0_amd64.deb
and followed the prompts.Package Generator: Generate Syntax Theme
command./home/user/src/motify-syntax
) and press theEnter
key and wait for the dialog to go away.cd ~/src/motify-syntax
and start pulsar in dev mode viapulsar --dev .
.Ctrl+,
and choose theThemes
tab.Motif
as theSyntax Theme
and wait for the theme to be reflected (I noticed a slight change in color).motif-syntax/styles/editor.less
file via the tree view..gutter
(line 19 in my case), duplicate the line below it that startsbackground-color:
and comment the line out.background-color: @red;
.Additional Information:
The last step above (step 12), is the one with an unexpected outcome. The expected outcome was to see the gutter color change.
By manually executing the
Window: Reload
command and waiting, I was able to observe that the gutter's color had changed.Also, step 12 on Windows 10 resulted in a different outcome. Expectations were met, i.e. the gutter color did change there.
The following two messages were noticed via the Developer Tools console:
Note the mention of
pathwatcher
.I retried following the steps above except invoking
pulsar --dev .
from~/.pulsar/packages/motif-syntax
instead and didn't encounter the issue (i.e. gutter color did change upon saving).It seems possible that symlinks might have something to do with this situation.
AFAIU,
pathwatcher
has native bits (not sure if that's an appropriate link).There are
pathwatcher_*.cc
files forlinux
,unix
, andwindows
so perhaps differences in behavior may be partly due to differences in implementation.P.S. I failed to determine how to reproduce this issue using safe mode, but I didn't know how to successfully submit this issue without checking the checkbox (^^;
The text was updated successfully, but these errors were encountered: