Geral:
Ctrl + Shift + P Paleta de comando F1 Show
Ctrl + P Quick Open, vá para o arquivo
Ctrl + Shift + N Nova janela / instância
Ctrl + Shift + W Fechar janela / instância
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| O Eclipse é uma IDE bastante utilizada por desenvolvedores Java. Também tem versões para outras linguagens de programação, mas a comunidade que mais o utiliza é a dessa linguagem. O Eclipse é muito criticado por sua performance que deteriora ao passar do tempo, mas a sua quantidade de ferramentas, principalmente a de Refatoração, na minha opinião, tornam essa IDE viciante, fazendo seus usuários tolerarem sua lentidão eventual. | |
| Esse tutorial ensinará como instalá-lo no Ubuntu, mas deve funcionar para outras distribuições. Foi testado nas versões 11.10, 12.04 e 12.10, mas, como é bastante básico, deverá funcionar para outras versões do sistema. É bastante similar à instalação do Sublime Text 2 que está explicada em um post anterior. | |
| Passo 1 – Baixar o Eclipse | |
| Há diversas versões do Eclipse, cada uma com pacotes pré-instalados que procuram adequar a IDE para seu tipo de uso. Nada impede de que você baixe uma versão básica e vá instalando os plugins que forem necessários para o seu desenvolvimento. | |
| Nesse tuto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <profiles version="13"> | |
| <profile kind="CodeFormatterProfile" name="Java Conventions DAbM" version="13"> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/> | |
| <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| catch (Exception e) { | |
| // e.printStackTrace(); | |
| throw e; | |
| // throw new Exception(e); | |
| } | |
| ... | |
| copyWorker.setOnFailed(evt -> { | |
| System.out.println("Task failed!"); | |
| if (copyWorker.getException() instanceof IndexOutOfBoundsException) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # remove java9 mac | |
| # fonte: https://www.java.com/pt_BR/download/help/mac_uninstall_java.xml | |
| sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/ | |
| sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin | |
| sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane | |
| sudo rm -fr /Library/LaunchAgents/com.oracle.java.Java-Updater.plist | |
| sudo rm -fr /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist | |
| sudo rm -fr /Library/Preferences/com.oracle.java.Helper-Tool.plist | |
| sudo rm -fr ~/Library/Application\ Support/Java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://gist.github.com/pksunkara/988716 | |
| [user] | |
| name = Anders | |
| email = carlosanders@gmail.com | |
| [core] | |
| #editor = subl.exe | |
| editor = 'C:/Microsoft VS Code/Code.exe' -w | |
| [http] | |
| sslverify = false | |
| [mergetool] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Encrypt the repository | |
| # Remove/modify this line if the repository is meant to be open-source | |
| *.* filter=git-crypt diff=git-crypt | |
| .gitattributes !filter !diff | |
| # These files are text and should be normalized (Convert crlf => lf) | |
| *.php text | |
| *.css text | |
| *.js text | |
| *.htm text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true | |
| indent_style = space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Project specific excludes | |
| # | |
| tomcat | |
| # | |
| # Default excludes | |
| # link: https://github.com/github/gitignore | |
| # |