GithubHelp home page GithubHelp logo

Comments (8)

hvesalai avatar hvesalai commented on August 10, 2024

Yes, these are all supported and documented features. Please see the https://github.com/hvesalai/scala-mode2/blob/master/README.md

More specifically https://github.com/hvesalai/scala-mode2#keymap-and-other-commands and https://github.com/hvesalai/scala-mode2#indenting-multi-line-comments

from emacs-scala-mode.

fommil avatar fommil commented on August 10, 2024

yes thanks, I read that part... but it doesn't address the case I am talking about (or does it?). this mode is never inserting the asterisks, it still wants me to type * at the start of each line. I find that to be distracting when concentrating on docs.

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

fommil: do you mean to say that (scala-indent:insert-asterisk-on-multiline-comment) does not work as documented?

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

I.e. did you try the alternative RET keybind that is documented in https://github.com/hvesalai/scala-mode2#keymap-and-other-commands instead of the basic newline-and-indent version?

from emacs-scala-mode.

fommil avatar fommil commented on August 10, 2024

aah, apologies, I missed that one. I actually already have a custom RET so I'll need to customise further.

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

OK

from emacs-scala-mode.

fommil avatar fommil commented on August 10, 2024

more on this, it seems it only works for /** not /* style comments. I guess I can live with that.

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

Yes. For background, I did it this way so that when I use /* blah */ to comment out a block of code, I don't want to inadvertently add extra * there that I then have to remove when I want to "activate" that block again.

from emacs-scala-mode.

Related Issues (20)

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.