MATLAB Answers

0

Is there a spell checker option for MATLAB?

Tom Salomon 님이 질문을 제출함. 3 Apr 2018
최근 활동 Rian Koja 님이 댓글을 추가함. 4 Jun 2019
I recently started to work with python and PyCharm. As a long time MATLAB user I found it so useful PyCharm has an integrated spell-checker. Not only it make the code much nicer to read, it also helps to prevent coding errors due to misspelling of variables and functions. Do you know of an option like that for MATLAB?

  댓글 수: 3

A feedback regarding this funcitonality was asked in 2013.
I'm also a PyCharm fan and would totally embrace a similar functionality on Matlab's editor.
Preventing coding errors through mis-typing variable names, and the like seems to me more like the kind of intelligent tools you get for or with lots of IDEs for other languages nowadays rather than something I would call a 'spell checker'. Is that what PyCharm calls it? To me a spell checker checks spelling of words based on a dictionary, it doesn't correct variable names that happen to be different in different places, especially if, as in tha case of many of my variable names, they are not words, but concatenated words or abbreviations in camelCase (or whatever your poison is for code standards).
PyCharm does checks possible errors in variable names, but it not only that. It actually checks a dictionary to verify spelling mistakes, both in comments and for variables. I.e. it will put an underline below CanelCase, but not below CamelCase.

로그인 to comment.

답변 수: 1

Answer by Manali Gupta on 4 Jun 2019

The below link can be referred.

  댓글 수: 2

This answer refers to checking the spelling of a single word. It "works", and could be a starting point to something better. But if checking code overall, I'd prefer to copy-and-paste the code into word, spell checking and then copying bakc again to the editor. Some people do that, it is boring, prone to errors and hard to enforce that everyone in a team does it everytime. Totally not worth it. Pycharm spellcheking, in comparison, is built-in, you are using it until you actively disable it. It pops up in the text editor, along with PEP8 style guidelines. It really helps improving overall code with less revisions over little additional effort.
Rik
on 4 Jun 2019
For the comment parts you can use a submission like this, but that isn't built-in either.

로그인 to comment.



Translated by