Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Question: bringing `matlab-code-indent` style to the MATLAB Editor

Aperta
#73 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
emacs, emacs-lisp
Ambito
documentation

Direzione di ricerca

Iniziate leggendo doc/matlab-code-indent.org e confrontando le regole di formattazione indicate con le funzionalità del MATLAB Editor. L’issue non fornisce un obiettivo di implementazione concreto, un punto di ingresso del codice denominato né criteri di completamento, quindi non esiste alcuna modifica definita di cui si possa verificare il completamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi, first of all, thank you for the great work on Emacs-MATLAB-Mode and for writing up doc/matlab-code-indent.org. I really like the formatting philosophy described there, especially the rules for function argument indentation, alignment of consecutive statements, and the reduced indentation for switch / case blocks.

In my team, though, not everyone uses Emacs. Some people work only in the MATLAB Editor and rely on its built-in formatting. This creates a practical problem: Emacs users format code according to the matlab-code-indent standard, while MATLAB Editor users format according to the Editor’s own rules, and the two styles do not fully match.

I’m wondering how you think about this situation. Do you see any good way to bring the matlab-code-indent style (or something very close to it) into the MATLAB Editor, so that non-Emacs users can share the same formatting standard? For example, do you know of any existing settings, plugins, or workflows that help align the MATLAB Editor’s formatting with the style described in matlab-code-indent.org? Or is this something that might be considered in future, either within this project or on the MATLAB side?

I’m not asking for a specific feature request here; I’m mostly interested in your perspective and any guidance you might have for teams where both Emacs and the MATLAB Editor are used together.

Thanks again for your work on this project.

Lingua principale
Emacs Lisp
Stelle
27
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Leggi la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mathworks/Emacs-MATLAB-Mode

Tutte le issue di mathworks/Emacs-MATLAB-Mode

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.