Coder Social home page Coder Social logo

dotfiles's Introduction

About Me:

Hello, my name is Eugene and I’m a Java developer with 6+ years experience. But a long times ago I also worked in embedded industry — wrote software for industrial controllers in local company in Saint-Petersburg.

Love to explore and improve complex software systems.

Languages and Tools:

Good at Java, Linux, Docker, unit tests and SQL. My key principle is attention to small but important details.

GitHub statistics:

dotfiles's People

Contributors

eugeneandrienko avatar

Watchers

 avatar

dotfiles's Issues

Java in Emacs

To use Java language in Emacs there are some things necessary. Some of them are working and some are not.

  1. Code highlight — code highlighting in Emacs is enough.
  2. Code completion — using jdlts with eglot and eglot-java, and company plugin. Works well. See: 84c8590 and 9b9966e.
  3. Code formatting. Completely broken! eglot-format uses jdtls to format buffer. And jdtls is completely unusable for that task — there are no ability to configure code formatting in human way. Only one way — somehow take formatting config from Eclipse IDE as cumbersome XML file and pass it to jdtls via special commandline argument. If you do not use Eclipse IDE — you can't configure formatting for your needs and eglot-format will be unusable for you.
    Read mfussenegger/nvim-jdtls#187 and eclipse/eclipse.jdt.ls#2401 for more information about code formatting "configuration".
  4. Errors and warnings on the fly — works well via flymake.
  5. Run Maven tasks from Emacs — works well via eglot-java-project-build-task from eglot-java. See: 3276580
  6. Run tests from Emacs — completely broken. Only one way to run tests — run maven task test via eglot-java-project-build-task. The special function eglot-java-run-test can't found any test and fail with cumbersome error message. See #3 for any additional information.
  7. Debug code from Emacs. See #4 for any additional information.

Configure Emacs for editing Java code

  • Install LSP for Java
  • Setup dap-mode to run tests and debug code
  • Load Java-related plugins only when opening *.java files
  • Wrote hotkeys to cmd/.zshfunctions/hotkeys

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.