elementary / elementary/code

Compiling in a terminal causes "modified by external application"

Open
#816 3 comments 0 reactions 0 assignees View on GitHub
Needs (re)confirming Priority: Medium
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

When the option 'Preferences' -> 'Behavior' -> 'Save files when changed' is *not* selected, compiling an opened *c* source file in a terminal causes a notification `" was modified in an external application. Do you want to load it again or continue your editing?"` to be shown. Selecting `Continue` will cause the notification to be shown again until `Load` is chosen.

If the option 'Preferences' -> 'Behavior' -> 'Save files when changed' *is* selected, the editor jumps to the top of the file.

The compilation command is:
`../opt/mingw32ce/bin/arm-mingw32ce-gcc -x c -L -l -mno-thumb-interwork -o `
which shouldn't modify the source file (and doesn't according to the output from `ls -lortha`).

Screenshot:

![Screenshot from 2020-05-16 13-58-15](https://user-images.githubusercontent.com/65448702/82118831-612b6d00-9782-11ea-99d4-c1647a5d213d.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.