-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark the selection in the captured code snippet #317
Comments
I'm using the selection column in #312. Is that different? What does the selection column report then? |
I had forgot the "selection-text" attribute. Thanks for reminding me. The "selection-text" attribute computes the string of the selection. However, the length of the selection is usually zero because most of the time the user just needs to place the cursor inside the right program element. The beginning offset of the attribute "selection-in-code-snippet" would help us determine the cursor position when the selection is empty. What is the best way to present where the user has placed the cursor? |
I think it would be nice to make the generator of the final CSV file add a column that contains the code snippets and their containing selections. |
Made the CSV generator add a column containing code snippets that are marked up with selections. This commit belongs to issue #317.
This commit belongs to issue #317.
Sometimes refactorings are unavailable or report problems due to wrong selections. Therefore, it's interesting to study the selections. CodingSpectator captures both structural and textual selections (See issues #163 and #170). It stores the offsets of the textual selections relative to the captured code snippet. I suggest that we change the CSV file generator to add a column that contains the string corresponding to the offsets of the textual selections relative to the captured code snippet.
The text was updated successfully, but these errors were encountered: