Cool! BTW, this is not documented in Base File.sublime-settings.
Dev Build 2043
[quote]Build 2044
Release Date: 10 March 2011
* Diff commands work with UTF-8 files[/quote]
It would be nice if this feature was available for all files.
Do you think that you could make it work for the default encoded file ?
Something like (warning untested dirty code):
try:
b = self.view.substr(sublime.Region(0, self.view.size())).splitlines()
a = codecs.open(fname, "r", "utf-8").read().splitlines()
except UnicodeDecodeError:
try:
a = codecs.open(fname, "r", self.view.settings().get('fallback_encoding').rpartition('(')[2].partition(')')[0]).read().splitlines()
except UnicodeDecodeError:
sublime.status_message("Diff only works with UTF-8 files")
return
Double clicking a folder in the sidebar should unfold it (and fold if it is unfolded). Clicking on this small gray arrow is not very comfortable.
When will I be able to use the arrow keys in the file/folder panel?
And when will there be little icons in that same panel to create file/directory in the hierarchy?
I requested this months ago!
Please implement
[quote=âgregmax17â]When will I be able to use the arrow keys in the file/folder panel?
And when will there be little icons in that same panel to create file/directory in the hierarchy?
I requested this months ago!
Please implement [/quote]
Please donât add toolbars /icons.
But, I do agree with adding arrow keys support to navigate the sidebar.
I think there needs to be a file delete confirmation dialog, or else some important file will be deleted by accident sooner or later.
Ideally, this should work as in âdelete from projectâ, not deleting the file physically.
Iâm not seeing this - when I create the second window, then the second window receives input focus, and I can type there as normal. I can click between windows and type in either, and closing the second window doesnât not appear to cause a crash. Also testing on Ubuntu 10.10. This wasnât happening for you on build 2042?[/quote]
Could you check this?
youtu.be/8OWhKG60qPk
It was ok before⌠Iâm not sure what is the problem, because even I downgrade it, or upgrade it, same problem again⌠the video is on 2039âŚ
It may other softwareâs bug. but it happen only on Sublimetext. not other text editor, Geany, gedit, and so onâŚ
Dev Build 2045 is out now with a couple of small changes. This should be the last dev build before the next regular version.
I was puzzled because none of the new features seemed to work. It turns out, Sublime still canât sync with certain shares, right?
I had to hit âRefresh Foldersâ for the new changes to be displayed on the sidebar. Iâll try to come up with a repro.
Oh, I see what youâre saying. If youâre on a windows machine, and the share is a Samba share, then youâre reliant on Sambaâs implementation of ReadDirectoryChangesW, which I believe is not supported.
Why donât I get the same context-menu options (rename, diff, etc) with the open files in the sidebar?
In the sidebar, what is the difference between âDelete folderâ and âRemove folderâ. âDelete folderâ did nothing, as far as I can tell?
Usability nitpick:
âDelete Folderâ vs. âRemove Folderâ is not clear enough, I think. The proximity of âDelete Folderâ to âNew FolderâŚâ makes it clear after a few times, but perhaps âRemove Folderâ could be changed into âRemove from Projectâ.
Delete folder will do an rmdir on the directory. Youâll see a message in the status bar if the directory is not empty.
Remove folder will remove the folder from the sidebar. As Guillermooo mentions, these names are too ambiguous; Iâll change remove folder to something else.
[quote=âlashtalâ]I think there needs to be a file delete confirmation dialog, or else some important file will be deleted by accident sooner or later.
Ideally, this should work as in âdelete from projectâ, not deleting the file physically.[/quote]
Aye, please! Or at least an option to enable a confirmation dialog.