简体   繁体   中英

PhpStorm - Change theme for remote server view

In PhpStorm is there a way to theme remote connection files differently to local project files?

When open they are very similar looking to each other and sometimes it's easy to work on 1 view when I am meant to be working on the other!

在此处输入图片说明

Unfortunately you cannot change editor background or stuff like that to make it more visible in actual editor area.

But ... from what I see IDE already uses different background colour for the editor tab (the tab itself). It's not that visible there on your screenshot because you are using Darcula GUI theme where you do not see much contrast in colours used.

You can change that at Settings/Preferences | Appearance & Behavior | File Colors Settings/Preferences | Appearance & Behavior | File Colors Settings/Preferences | Appearance & Behavior | File Colors : choose more suitable for you colour for "Non-Project Files" scope (eg use bright red or blue -- whatever suits your theme and your preferences). Also double check that Use in Editor Tabs option is checked (should be already).

Please note that this will apply to any non-project files (ie even excluded or outside of the project root).

在此处输入图片说明


Another thing: in recent IDE versions (2018.2 is the latest stable ATM) the file edited remotely will have additional bar at the top of the editor with Compare / Revert | Upload and possibly other actions .. so it should be even more noticeable that you're editing remote file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM