小编And*_*ndy的帖子

如何着色git-status输出?

我想着色git-status输出,以便:

untracked files = magenta
new files = green
modified files = blue
deleted files = red
Run Code Online (Sandbox Code Playgroud)

我反而看到绿色和非分页文件中的分段文件为蓝色: git-status的屏幕截图

我的.gitconfig根据一些搜索设置如下:

[color]
status = auto

[color "status"]
added = green
changed = blue
untracked = magenta
deleted = red
Run Code Online (Sandbox Code Playgroud)

git git-config git-status

87
推荐指数
1
解决办法
4万
查看次数

Ubuntu上Eclipse窗格中的非常大的选项卡

我的问题非常类似于Ubuntu上Eclipse中的 Stack Overflow问题Gigantic Tabs.

我尝试了所提出的解决方案,但它们看起来很旧.我找到了一个很好地处理工具栏和菜单的解决方案,但没有一个解决方案可以减少窗格内不成比例的大标签(和标签)的大小和填充(请参阅下面屏幕中的"Package Explorer"选项卡).

我很满意我的OS范围GTK主题的定制方式,并且不想改变它.是否有快速修复以减少Eclipse中窗格的选项卡大小?

我在Ubuntu 12.04上使用Eclipse for Mobile Developers(Juno).我还要提到我非常喜欢Eclipse在Windows 7中出现的方式,所以类似的东西是理想的.

以下是我正在使用的eclipse特定GTK样式:

style "eclin" {
    GtkButton::default_border={1,1,1,1}
    GtkButton::default_outside_border={1,1,1,1}
    GtkButtonBox::child_min_width=0
    GtkButtonBox::child_min_heigth=0
    GtkButtonBox::child_internal_pad_x=0
    GtkButtonBox::child_internal_pad_y=0
    GtkMenu::vertical-padding=1
    GtkMenuBar::internal_padding=1
    GtkMenuItem::horizontal_padding=4
    GtkToolbar::internal-padding=1
    GtkToolbar::space-size=1
    GtkOptionMenu::indicator_size=0
    GtkOptionMenu::indicator_spacing=0
    GtkPaned::handle_size=4
    GtkRange::trough_border=0
    GtkRange::stepper_spacing=0
    GtkScale::value_spacing=0
    GtkScrolledWindow::scrollbar_spacing=0
    GtkExpander::expander_size=10
    GtkExpander::expander_spacing=0
    GtkTreeView::vertical-separator=0
    GtkTreeView::horizontal-separator=0
    GtkTreeView::expander-size=12
    GtkTreeView::fixed-height-mode=TRUE
    GtkWidget::focus_padding=0
    font_name="Liberation Sans,Sans Regular 8"
}

class "GtkWidget" style "eclin"
    style "eclin2" {
    xthickness=1
    ythickness=1
}

class "GtkButton" style "eclin2"
class "GtkToolbar" style "eclin2"
class "GtkPaned" style "eclin2"
Run Code Online (Sandbox Code Playgroud)

以下是我的IDE与巨大标签一起显示的截图:

带有选项卡的Eclipse Juno IDE太大了

eclipse gtk ubuntu user-interface

69
推荐指数
4
解决办法
4万
查看次数

罗盘不适用于Ubuntu 12.04

此问题类似于以下问题:

但指南针不起作用.这不是其他人报告的PATH问题.

规范包给出了错误.

规范包: sudo apt-get install ruby-compass

使用宝石代替:

宝石安装: sudo gem install compass

控制台输出:

compass --version:

Errno::ENOENT on line 25 of /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb: No such file or directory - /usr/lib/ruby/vendor_ruby/sass/../compass/../../VERSION.yml

compass watch:

LoadError on line 122 of /usr/lib/ruby/vendor_ruby/sass/../compass/configuration/data.rb: no such file to load -- compass/import-once/activate

我无法让指南针正常工作.

ruby ubuntu gem sass compass

3
推荐指数
1
解决办法
4710
查看次数

标签 统计

ubuntu ×2

compass ×1

eclipse ×1

gem ×1

git ×1

git-config ×1

git-status ×1

gtk ×1

ruby ×1

sass ×1

user-interface ×1