Oracle sql 开发人员颜色编码
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4625456/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Oracle sql developer color coding
提问by Hiro
Is there a way to color code the database connections within Oracle SQL Developer? I know that TOAD can do this. I want to make prod have a RED background and DEV with a green background, to make it easy to know which system I'm working on at any moment.
有没有办法对 Oracle SQL Developer 中的数据库连接进行颜色编码?我知道 TOAD 可以做到这一点。我想让 prod 有红色背景,DEV 有绿色背景,以便随时了解我正在使用哪个系统。
Cheers
干杯
回答by thatjeffsmith
Yes. New feature for version 4.0
是的。4.0 版的新功能
Connection has 'Connection color' property. This color will be painted to the border of each editor assigned to that connection.
连接具有“连接颜色”属性。此颜色将绘制到分配给该连接的每个编辑器的边框。
In addition the connection name in the tree and any new connection picker/dialog will also be labeled with that color.
此外,树中的连接名称和任何新的连接选择器/对话框也将标有该颜色。
回答by Leigh Riffel
You can vote for this feature on Oracle SQL Developer Exchange.
您可以在 Oracle SQL Developer Exchange 上为该特性投票。
回答by BQ.
You can't color code them currently. I prefix my Production connection with an asterisk to indicate the same thing (since I don't want to have to expand folders each time).
您目前无法对它们进行颜色编码。我在我的 Production 连接前加上一个星号来表示同样的事情(因为我不想每次都展开文件夹)。
My Connections pane looks like this:
我的连接窗格如下所示:
Connections
|+ "Unused" (folder for rarely used connections)
|- "*PROD* - user@tnsalias"
|- "DEV - user@tnsalias"
|- "TEST - user@tnsalias"
I find it helpful to include the user and tnsalias in my connection name so it's clear to see how and where I'm connecting.+
我发现在我的连接名称中包含用户和 tnsalias 很有帮助,这样我就可以清楚地看到我的连接方式和位置。+
回答by fn.
No that i know. You could create folders on Connection tab and add those connection there, althought not much use if connection tab is minimized.
不,我知道。您可以在“连接”选项卡上创建文件夹并在那里添加这些连接,但如果最小化连接选项卡,则用处不大。