You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Though mentioned in the tutorial page, students tend to be confused by the concept that order of editor tabs is the order of file names send to compiler.
In 15-122 course project / homework, the codebase mostly comes with a README.txt file which includes some command lines showing how to compile the project. Usually in form of
% cc0 a.c0 b.c0 -W -d
If the visualizer can detect this file sequence and apply the recommended compile order automatically, it will be easier to use and we won't need to rearrange the tabs manually in a large project.
Describe the solution you'd like
Add an editor tab that shows the README.txt file. If a line is a valid cc0 compiler command in form mentioned above, record the file sequence and apply the sequence when possible.
If the provided command is not possible (e.g. missing files in C0VM.ts), or no such command is found, then fallback to use the editor tab order.
Additional context
Requested by prof. Iliano
The text was updated successfully, but these errors were encountered:
MarkChenYutian
changed the title
Using the compile command provided in README.txt
[Feature] Using the compile command provided in README.txt
Jul 21, 2023
Is your feature request related to a problem? Please describe.
Though mentioned in the tutorial page, students tend to be confused by the concept that order of editor tabs is the order of file names send to compiler.
In 15-122 course project / homework, the codebase mostly comes with a
README.txt
file which includes some command lines showing how to compile the project. Usually in form ofIf the visualizer can detect this file sequence and apply the recommended compile order automatically, it will be easier to use and we won't need to rearrange the tabs manually in a large project.
Describe the solution you'd like
Add an editor tab that shows the README.txt file. If a line is a valid
cc0
compiler command in form mentioned above, record the file sequence and apply the sequence when possible.If the provided command is not possible (e.g. missing files in C0VM.ts), or no such command is found, then fallback to use the editor tab order.
Additional context
Requested by prof. Iliano
The text was updated successfully, but these errors were encountered: