GithubHelp home page GithubHelp logo

Auto-fill in comments about fstar-mode.el HOT 8 CLOSED

fstarlang avatar fstarlang commented on July 23, 2024
Auto-fill in comments

from fstar-mode.el.

Comments (8)

cpitclaudel avatar cpitclaudel commented on July 23, 2024

Are you thinking of M-x auto-fill-mode?

from fstar-mode.el.

kkohbrok avatar kkohbrok commented on July 23, 2024

Yes, except that it only applies in a comment environment: (* .... *) or line //. such that if I type normal code, lines don't get wrapped and if I type an actual text (such as in a comment), lines do get wrapped.

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on July 23, 2024

comment-auto-fill-only-comments? :)

from fstar-mode.el.

kkohbrok avatar kkohbrok commented on July 23, 2024

Amazing, thank you!

How did I miss this? Is that a standard thing in every mode? If not, then it might be worth mentioning on the Readme page. Or set it by default? I don't know how well it plays with fsdoc, though.

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on July 23, 2024

I think it's pretty standard, yes :) https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Fill.html

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on July 23, 2024

In fact, it was the subject of an early request: #15

from fstar-mode.el.

kkohbrok avatar kkohbrok commented on July 23, 2024

Ok, I guess I have to search more thoroughly next time. Thanks again!

from fstar-mode.el.

cpitclaudel avatar cpitclaudel commented on July 23, 2024

No problem. Happy to help :)

from fstar-mode.el.

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.