Skip to content

Instantly share code, notes, and snippets.

@kauanmocelin
Created April 6, 2021 12:05
Show Gist options
  • Save kauanmocelin/fb139d8eb660bd43ea51f055e40f5023 to your computer and use it in GitHub Desktop.
Save kauanmocelin/fb139d8eb660bd43ea51f055e40f5023 to your computer and use it in GitHub Desktop.
[Eclipse - Customização ambiente] #eclipse
Configuração ambiente - Eclipse
Aba Server, dois clics
- Open launch configuration
- alterar os parametros de memoria do server jboss
Window -> Preferences -> Project Facets
- desabilitar JAX-RS (Rest Web Services)
- Remover pacotes nunca usados
1.Go to Window → Preferences → Java → Editor → Save Actions.
2.Check the option "Perform the selected actions on save".
3.Check the option "Organize imports".
Now every time you save your classes, eclipse will take care of removing the unused imports.
OU
1.Shortcut key: Ctrl-Shift-O
- Remover auto complete do javascript quando fizer window. ou ==
1.Window > Preferences > Web > HTML Files > Editor > Content Assist > Default proposal categories
1.1 Disable: Html Tag proposals e Javascript proposals e Tern Completion Proposal category
2.Window > Preferences > Web > JSP Files > Editor > Content Assist > Default proposal categories
2.1 Disable: Html Tag proposals e Javascript proposals e Tern Completion Proposal category
- Alterar tamanho das fontes das Abas
1.Window->Preferences->Appearance->Colors and Fonts
2.In Colors And Fonts window:
3.View and Editor Folders->Part title font
- Plugin Emmet
1. Instruções para instalar https://github.com/emmetio/emmet-eclipse/blob/master/README.textile
- Plugin jshint
1. Instruções para instalar http://github.eclipsesource.com/jshint-eclipse/install.html
Utilizar as marcações abaixo entre os códigos que não devem ser lidos pelo jshint(.jsp)
/* jshint ignore:start */
/* jshint ignore:end */
- Remover pasta target do commit
1. Pode-se incluir as pastas que não se deseja enviar para o SVN no Eclipse em Windows → Preference → Team → Ignored Resources.
Clique em AddPattern e digite target ou o nome da pasta desejada. (https://pt.stackoverflow.com/questions/46386/como-n%C3%A3o-enviar-arquivos-target)
- Apertar enter após Ctrl + F6
Eclipse Juno Window Menu/Preferences/General Uncheck "Keep next/previous editor view and prespectives dialog open
- Atalho para "Open Implementation" para pesquisar métodos diretamente
1.Window > Preferences > Keys
2.Remover o binding do comando "Open Declaration"
3.Adicionar binding no comando "Open Implementation" como "F3", e when como "Editing Java Source"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment