当前位置: 代码迷 >> Eclipse >> eclipse 技艺
  详细解决方案

eclipse 技艺

热度:590   发布时间:2016-04-23 12:10:11.0
eclipse 技巧
1.code template 更改名字
在eclipse.ini中增加:
-Duser.name=your names

2.@kde
gdb错误解决:
Basically, it is to use an older gdb protocol that supports deferred breakpoints. Using the "Standard Create Process Launcher" instead of "GDB (DSF) Create Process Launcher" from Debug Configurations and I get all my DLL breakpoints set now.
---run configure,or,debug configure, -->Main ,using Standard Create Process Laucher.....

菜单字太小
桌面->创建app->command使用
env GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:/home/xx/.gtkrc-eclipse /home/xx/share/eclipse /eclipse

cat /home/shawn/.gtkrc-eclipse内容为:
style "eclipse" {
        font_name = "Sans Condensed 8"
font_size = 15
}
class "GtkWidget" style "eclipse"

2.python template

comment
'''${cursor}    arguments:    Returns:    Raises:'''


class
#!/usr/bin/env python# -*- coding:utf-8  -*-'''Created on ${date}@author: ${user}'''class ${MyClass}(${object}):    '''    ${classdocs}    '''    def __init__(self${params}):        '''        ${Constructor}        '''        ${cursor}
  相关解决方案