Throwaway idea: Content aware Save As
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
L’issue non indica alcun file o test; inizia individuando il flusso Save As per i documenti senza nome e il codice esistente per il rilevamento della sintassi. Confronta i casi proposti per URI/percorso, CSV, shebang, HTML e Vala, quindi definisci e testa nomi iniziali deterministici per i contenuti supportati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Code already detect syntax, but we could extend capabilities depending on which content for, for example, a Saving As that already prefill the name depending on the content
Proposal
Upon doing a save As of an unnamed file, tweak initial_name according to the content:
- if it has a list of URI, Path, URL, call the initial_name "New playlist.m3u8"
- if it has all lines with commas, or a specified delimiter specified as per csv standard, append a ".csv" in the "unsaved document" initial name
- if it has a shebang on the first line, add a .sh, or .py, or according to what it is
- if it has some html, add a .html extension
- Vala, it's a NewDocument.vala...
Prior Art (Optional)
No response
- Lingua principale
- Vala
- Stelle
- 521
- Fork
- 119
- Merge medio
- 1g 7h
- PR unite (30g)
- 13
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di elementary/code
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
elementary/code#1818 · 1 commento ·
-
Unmounting a mount containing a file being edited by Code does not result in a "busy" warning Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
elementary/code#1813 · 2 commenti ·
-
Needs Design Priority: Wishlist
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
elementary/code#1786 · 3 commenti ·
-
Needs Design Priority: Wishlist
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
elementary/code#1783 ·
-
Priority: Wishlist
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
elementary/code#1762 · 3 commenti ·
Tutte le issue di elementary/code
Issue simili
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Apertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
CachyOS/cachyos-aur-derived#754 ·
-
bug draftomen size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
andreagrandi/draftomen#681 ·
-
Startup alerts tell the user to click Save and Apply, but the settings button is labelled Save Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
alexgorbatchev/simple-ptt#11 ·