April 3, 2023, 1:06pm
Opened 1 XML file in Notepad++ and Komodo Edit
Changed in Komodo - Notepad++ refreshed ok
Changed in Notepad++ - no any refresh in Kamodo, I waited fro one hour in background, clecked on app windwos to make it active also. That’s the problem. File tree doesn’t refresh also
Ubuntu 20.04 on WSL2
Komodo 12.0.1 build 18441
Disk mounted as network drive (net use)
Just on reqular HDD working well
April 3, 2023, 4:35pm
I’m not able to reproduce this though I’m not sure I understand the repro steps correctly.
I did the following:
Created a file, opened it in Komodo and Notepad (not notepad ++ mind you)
Edited file in Notepad and saved
Go back to Komodo and file is updated with new content
It might be a preference:
Edit menu > Prefs > Workspace > File Status in Project Manager and Toolbox, though I don’t think this is related to actual file contents.
April 3, 2023, 6:06pm
This actually sounds really familiar. I feel like someone hit an issue like this in the past. Something to do with how Notepad ++ saves files that Komodo fails to detect (but evidently VS Code works).
I can’t think of what it might be off the top of my head though and it’s working for me.
Can you try some debugging steps on your side? Restart in safe-mode, restart computer, re-install, etc.
April 3, 2023, 8:10pm
Ok, what I did:
Safe mode has no sence bacuse no WSL2 and net use mounting the
Completely uninstalled Komodo, clean up profile in AppData manually
Made the fresh install
No difference, no refresh
I can tell you more. I renamed file in Totak Commander, I see changes in started Explorer, but Komodo tree view is still the same/ I can refresh it but Komodo relaunch only
April 4, 2023, 4:32pm
Appologies but I don’t understand your first point. What does WSL2 have to do with Komodo? Perhaps clarifying your work environment might help as this implies a setup that perhaps might not work as expected.
April 4, 2023, 7:05pm
NP. I mounted Ubuntu on WSL drive via net use. Than I work with data as the regular files and files refreshed and tree refreshed aslo, but not in Komodo. I already tried Notepad++, VS Code, PHPstorm
April 6, 2023, 3:31pm
@MaxA I’m really not sure if that can or should work with Komodo. I think the file watch code that Komodo uses was written long before WSL was a thing.
If you could provide the setup steps for a minimal viable working example, with the required commands i’d need to run, I could try and find some time to do a deeper dive into what might be going on here.
April 6, 2023, 4:11pm
Install Ubuntu 20.04 on WSL2, a lot for manuals in net, ht’s simple, not any deep tunning. You’ll need Windows terminal. Info in the net also
Mount WSL partition via net use, many info in net also
I use “net use U: \wsl.localhost\Ubuntu-20.04 /user:user passwd”
The disk is mounted as drive U: Create or open any file in Komodo and Notepad++, for example, remember about permissions
Change in one, check in the another
Everything is standard and simple. If you have LTSC as mine use this to install MS store:
April 28, 2023, 3:22pm
I’ve been too busy to give this a deep dive. I’m not sure when I’ll have time to take this for a spin but it’s still on my radar fwiw.