Replies: 1 comment 9 replies
-
Interesting idea, what use case do you have in mind? Because while some things could be expressed as math, many things can not (like a class with state). One related thing I can think of is making a Python file into a readable pdf, comments as latex and code in a listing, I'm sure there exist tools which do that, and it's not exactly your example. Converting things to Unicode has a certain use case, and we are already doing that by folding some few hardcoded symbols. Also note the Symbol tool window. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you think it would be possible (and feasible) to make python code look like latex? (and if so, would anyone be interested in creating something like this inside TeXiFy or as a new repo heavily based on TeXiFy)?
For example, you could start with simple changes like changing: x in Y to be x\in Y
and maybe later also convert stuff like: sum(x[i] for i in range(1, n)) to \sum_{i=1}^{n}{x_i}
and it would even be cooler if it were to convert in real time to relevant Unicode, lyx style.
I would of course be willing to help in such a project, but I wouldn't be able to manage it since I honestly don't understand IDEA plugins at all.
Beta Was this translation helpful? Give feedback.
All reactions