Commit Graph

79 Commits

Author SHA1 Message Date
leo
5574dd2c38 refactor: a better way to fix window drop shadow effect on Win10 2024-09-19 09:50:27 +08:00
leo
33f9ae0cd6 fix: wrong executable file name for Zed editor on Linux (#477) 2024-09-19 09:12:38 +08:00
leo
69b39dac6c code_style: simpfy FindTerminal
* [macOS] should return `string.Empty` when failed to find terminal path
* [Linux] use `shell.Type` instead of `shell.Exec` to skip custom terminal detection
2024-09-18 15:26:28 +08:00
leo
ba9c3058ed feature: supports Zed editor as an external editor (#477) 2024-09-18 10:00:32 +08:00
leo
bc633e4085 code_review: PR #480
* remove `string.IsNullOrEmpty(OS.ShellOrTerminal)` checking from detail backend since it has been checked by `Native.OS.OpenTerminal`
* remove `ViewModels.Preference.IsTerminalConfigured` because it is only used by itself (Unlike `IsGitConfigured`).
* add `Native.OS.TestShellOrTerminal` and use it instead of setting `Preference.ShellOrTerminal` directly, because we have binded a callback that will save preference into file when its property changed. It may cause lag in some enviroments if we saving preference into file too frequently (see PR #436).
* run `dotnet format`
2024-09-17 22:09:51 +08:00
Aikawa Yataro
736ad02991 enhance: allow to specify custom terminal 2024-09-16 12:06:33 +00:00
Aikawa Yataro
53c915578e enhance: allow terminal without full path and adjust error message 2024-09-16 11:55:50 +00:00
Aikawa Yataro
4deac98c4e fix: crash when trying to open terminal from the Welcome screen 2024-09-16 08:51:39 +00:00
leo
fb0120d338 refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
bede3663ec code_review: PR #453
* remove Visual Studio ENC0004 warning
2024-09-10 09:22:35 +08:00
Chiahong Hong
6d18839237 refactor: terminal launch on macOS without temporary AppleScript 2024-09-10 01:02:41 +08:00
leo
ebc112a627 feature: workspace support (#445) 2024-09-09 18:26:43 +08:00
leo
17dd32456b refactor: add Avalonia.Fonts.Inter as built-in default font (#447) 2024-09-09 10:01:41 +08:00
leo
6688319714 fix: failed get default font on some Linux distro (#447) 2024-09-08 18:29:05 +08:00
Hannes Braun
3b44616aba Add support for foot
foot is a terminal emulator for Wayland.
2024-08-28 01:05:08 +02:00
Chiahong Hong
9a1e95b7e5 fix: handle file paths with spaces 2024-08-22 02:09:34 +08:00
Chiahong Hong
fd7bc8b122 fix: prevent executing an executable file with the same name as the directory 2024-08-22 00:57:23 +08:00
leo
04a187203a refactor: detect terminal before it is needed 2024-08-20 21:05:20 +08:00
leo
66b28621d1 fix: wrong path to find iTerm2 2024-08-20 20:55:41 +08:00
leo
05db9e429d code_review: PR #377
* simplify the implementation
2024-08-20 20:44:54 +08:00
Yitzchak Ben-Ezra
f53b35243d Support iTerm2 in MacOS 2024-08-20 14:32:52 +03:00
leo
9057b71f2d refactor: rewrite the font configuration (#366)
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +08:00
leo
e7921db339 fix: can not open app dir on macOS 2024-08-18 15:53:54 +08:00
leo
39fba17648 enhance: text editor (#365)
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
db40a3f368 feature: try to enable DBus file picker on Linux platforms (#289) 2024-08-14 16:09:55 +08:00
leo
d1b236b090 enhance: usually we create hidden sub-directories in $HOME with lowercase names 2024-08-13 10:19:16 +08:00
leo
38665a61cb fix: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) returns an empty string on some linux distro
* fallback the storage folder to `~/.sourcegit`
2024-08-12 21:38:11 +08:00
leo
f4eca45754 code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
bfea573d4b feature: supports mate-terminal on Linux 2024-06-29 11:53:12 +08:00
leo
989e359a5a fix: pwsh (PowerShell) typo 2024-06-24 19:15:26 +08:00
leo
49ce07443e fix: application data dir may not have been created before crash (#161) 2024-06-03 09:44:12 +08:00
leo
a976f007f5 refactor: load external tool's icon on startup 2024-05-17 12:01:29 +08:00
leo
bd09a44ab9 fix: IME not work on Wayland (#125) 2024-05-13 15:42:24 +08:00
leo
e0d35409b4 feature: move main menu to macOS system menu bar 2024-05-11 11:31:14 +08:00
leo
9627206764 fix: launch terminal in current user's home dir failed on macOS(#105) 2024-05-05 13:12:26 +08:00
leo
7da184c55b fix: disable native system menubar on macOS (#106) 2024-05-05 13:02:23 +08:00
leo
c9ce41aef3 feature: supports open in/diff with VSCodium (#102) 2024-05-03 21:54:10 +08:00
leo
28554d1b04 code_review: remove unused codes 2024-04-28 09:56:08 +08:00
leo
9a68418f51 Merge pull request #92 from ennerperez/feature/issues-77
code_review:

* use JsonSerializerContext to avoid AOT warnnings
* since we call TryAdd by interating the installed tools, so detecting by environment variable becomes meaningless (it can not detect tools not installed by Toolbox). Just add it into founded directly
* remove unnecessary type defines
* determine the Icon used by tool while adding it to the founded list.

# Conflicts:
#	src/Native/Linux.cs
#	src/Native/MacOS.cs
#	src/Native/Windows.cs
2024-04-27 21:13:21 +08:00
Enner Pérez
706a833817 Linux Path Fix 2024-04-27 02:36:40 -05:00
Enner Pérez
fe2abee21d Typo Fix 2024-04-27 02:12:12 -05:00
Enner Pérez
53beb3daac JetBrains Toolbox IDE detection 2024-04-27 02:12:03 -05:00
leo
fd2160e56e feature: supports JetBrains Rider (#77) 2024-04-23 16:53:33 +08:00
leo
92b80cbcda code_style: remove unnecessary parentheses 2024-04-15 18:07:17 +08:00
leo
fd8f257d6d feature: supports lxterminal on Linux 2024-04-15 18:01:15 +08:00
leo
c617331657 fix: wrong path for sublime text command-line interface 2024-04-15 17:48:52 +08:00
walterlv
25082890ad Dont find the path twice 2024-04-15 09:21:42 +08:00
walterlv
f58cff2cb6 Fix windows terminal startup directory 2024-04-15 08:58:25 +08:00
leo
7bf6793a11 refactor: detecting programs from the PATH environment variable instead of hard coded (#72) 2024-04-14 11:14:13 +08:00
leo
d64b7a7824 code_style: private functions should appear after all public functions 2024-04-12 09:41:12 +08:00