Questions tagged [code]

For Questions related to code - the default text and code editor shipped with elementary OS

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Code text editor snapping problem

Code text editor window does not snap. Every other app snaps. It doesn't matter if I use mouse or keyboard shortcut.
user avatar
  • 1
0 votes
0 answers
45 views

Code: switching to another app and back again brings the cursor to the top of the document

This only happens if my last keystroke in Code is a <enter> and then I press <alt><tab><alt><tab> to quickly look in another application. I was wondering if other users ...
user avatar
  • 60
0 votes
0 answers
40 views

How can I tell which vim mode I'm in Code editor?

I'm a new elementary OS user and ready to use the default Code text editor. I'm kind of used to vim as a text editor, and in vim if you are in insert mode there will be an --INSERT-- indication at the ...
user avatar
0 votes
0 answers
21 views

Code did not restore the tabs that I had open, how can I recover them?

I am a user of elementary os, I use the code text editor, there I save quick notes without saving as a document, sometimes it happens that the tabs do not appear again when I open the editor, is there ...
user avatar
  • 1
0 votes
0 answers
44 views

Use Code as default editor in Filezilla

So in my application I have Code as the default text editor. However in Filezilla it does not use that. If I try and set io.elementary.code as the default editor it gives an error that it cannot find ...
user avatar
0 votes
0 answers
43 views

Trying to build elementary-code on pop_os - compiling error

I know Elementary maintains a version of their text editor, Code (previously Scratch), for other distributions of Linux like Fedora and FreeBSD, but there is no package for Ubuntu, oddly enough. I am ...
user avatar
  • 101
0 votes
1 answer
47 views

Funny bug with missing applications after using Screen Time & Limits

I wanted a way to lock applications so thought that using Screen Time and Limits, previously called Parental Controls, would be a smart way of doing this by locking applications like Code and Files ...
user avatar
0 votes
2 answers
63 views

Save window for Code app not displaying

I installed eOS 5.1.7 Hera a couple days ago on my 2012 Macbook Pro and I'm having a hard time with using specific apps. The one in particular is Code, a default text editing app that comes with Hera. ...
user avatar
0 votes
1 answer
307 views

How to get ElementaryOS's Source Code and how to compile it?

I would like to know how to get the complete source code of ElementaryOS and how to compile it (on windows, if possible). I wanted to make it clear that I am new to stackexchange and that I am not ...
user avatar
0 votes
0 answers
138 views

Advantages and disadvantages of the program Code. Documentation on features and differences from others

Hello respected community and developers. First, I want to express my gratitude for your work. I am interested in the program for text and code editing - Code. I would like to ask about its ...
user avatar
  • 1
0 votes
2 answers
90 views

In which folder does Code store the unsaved text files?

In which folder does Code store the unsaved text files? I have not clicked the save button and the file name is New Document. Where is it stored?
user avatar
0 votes
1 answer
174 views

Elementary OS Code save behavior

I lost a lot of changes recently and I'm trying to figure out what went wrong, how to avoid this issue in the future, and how to recover my work if possible. Does Elementary OS's Code app save files ...
user avatar
1 vote
1 answer
132 views

Why does the trash can in Plank open Code instead of Files?

(Left) Clicking on the trash can in Plank, or right clicking on it and selecting "Open Trash" opens Code--the text editor--instead of Files. My first thought was to check if any nonsense ...
user avatar
1 vote
1 answer
75 views

dpkg: error processing package teamviewer (--install):

i was trying all solution in youtube, but no one solve my problem.. It's my first time using ementary os, so can someone help me please
user avatar
1 vote
2 answers
975 views

Settings schema 'io.elementary.code.settings' does not contain a key named 'smart-cut-copy'

Unable to open elementary's built in text-editor: code. When launching from dock, it never opens while the cursor gets replaced by a circular spinner for 10-15 seconds. When launched from terminal, ...
user avatar
0 votes
3 answers
471 views

Change Code theme color [duplicate]

Is there a way to change the code app black background color to be equal to terminal color to get a cool integration? Look at the image for a better understanding. Thank you in advance.
user avatar
0 votes
1 answer
75 views

How can I create a game like Alias?

I’m an ESL teacher in Russia. To engage my students more I really want to create a HTML5 game similar to Alias (see https://apps.apple.com/ru/app/alias-party-game/id1163843973?l=en). I’m not a coder, ...
user avatar
0 votes
1 answer
132 views

Code editor does not have a "project/folder" button

When I see the screenshots on Github then I have to conclude that my code editor looks a bit different: Between the "Open file" button and the "Save file"-button in the left top corner of the image ...
user avatar
  • 60
1 vote
0 answers
14 views

Wildcard searches in Code

I've been struggling with finding a working wildcard search in the Code application. Is there a character I'm missing? I'd like to be able to highlight multiple numbered items, replacing the number ...
user avatar
  • 11
1 vote
1 answer
131 views

Code - Spell check extension - where to add/remove dictionaries?

I would like to use spell check extension in Code but have not find any place, how to add/remove languages (dictionaries). Can you help me, where is the config for this extension, and/or where to ...
user avatar
  • 33
2 votes
1 answer
926 views

Dark theme on Elementary Code instead of "Solarized Dark"

I would like to know if there is any possibility to change the configuration in Code App to set a Dark Theme instead of "Solarized Dark" or if there is any plugin to set a dark theme in Code App. ...
user avatar
  • 21
3 votes
1 answer
160 views

Configure Code to forget opened files

I use Code a lot, and I know that restoring apps' state is a core elementary OS design principle. But I find myself bugged by the fact that every time I open Code I am presented with a huge list of ...
user avatar
  • 2,150
1 vote
1 answer
133 views

Code don't work

I made this code, but it doesn't work correctly. The window is created, but the button does not appear. I do not receive any error reports. Would anyone know why? public class MyApp : Gtk.Application ...
user avatar
1 vote
3 answers
269 views

Code - Toggle sidebar

All Is there any way to disable the sidebar in Code permanently? I've searched everywhere. in I can't find this option in code and OS settings.
user avatar
1 vote
1 answer
152 views

How can I print from within the Code app? [closed]

I cannot seem to find a button or selection in the Code application to print an open document.
user avatar
4 votes
1 answer
828 views

How to develop extensions for Code?

How can I develop an Extension for Code. I want to recreate atom's pigments package into Code.
user avatar
2 votes
1 answer
143 views

io.elementary.code wont run on juno

i have one problem with my Code, i cant run it from terminal but from GUI sometimes work sometimes wont open and have some errors when open, i am reinstalled it couple of times but nothing, i was ...
user avatar
1 vote
1 answer
2k views

How To Configure the Terminal in Code

The question says it all. I would like to configure the integrated terminal of Code (especially get rid of some lurid colours), but I can't find any option to do so, nor any configuration file. How ...
user avatar
1 vote
2 answers
558 views

What keyboard shortcuts are available in Code?

What keyboard shortcuts are available for actions like manipulating files and directories / projects, manipulating code / text, showing / hiding features, etc.
user avatar
0 votes
1 answer
259 views

How to add support for additional coding languages?

When working on web dev projects, we work with many file formats, some of which aren't recognised by Code, such as .twig. Is there a way to add support for these? If not, is there a way to treat all ...
user avatar
2 votes
2 answers
1k views

code text editor problem in elementary os juno

I have another problem but with the code editor this time it does not let me create a new tab even when I right click and click new tab nothing happens I tried uninstalling it and installing it ...
user avatar
  • 91
1 vote
1 answer
88 views

How to toggle text wrapping in Code?

I'm using Code to view and edit tab separated files, composed by long entries. When Code breaks the lines, it messes with my view of the file. How can I turn off text wrapping?
user avatar
0 votes
4 answers
3k views

Open elementary apps from the command-line

How can I open elementary apps from the command-line? Particularly Code and Files. I already found /usr/bin/io.elementary.files and /usr/bin/io.elementary.code, build they are not really convenient. ...
user avatar
  • 181
0 votes
1 answer
184 views

Some bugs I found + 'code' related questions

I have downloaded and install elementary OS 5.0 Juno for a few days now and during that time, I think I have noticed some bugs, mostly just minor. For starter, every time you log in to the OS, the ...
user avatar
1 vote
1 answer
81 views

Code - How to "search in project"

In most editors it's possible to perform a search within the open folder/project. How can this be achieved with Code in Juno, if at all possible?
user avatar
  • 181
1 vote
1 answer
646 views

io.elementary.code application name

First of all, I want to thank you guys for all your hard work. I really enjoy the consistency and fluidity of Elementary OS. The custom basic applications follow those patterns nicely and they are ...
user avatar
0 votes
1 answer
267 views

Can't launch Code via alias

I installed Code (the new Scratch) via the instructions here. I also created an alias in my .bashrc file to launch it for purposes of running as su: alias code = 'io.elementary.code' Unfortunately ...
user avatar
2 votes
3 answers
170 views

Prevent Scratch from making files with tilde

Everytime I edit something in Scratch, it creates a file with the same name ending with a tilde (~). How can I prevent this? This is really annoying while working with Git.
user avatar
1 vote
0 answers
86 views

Broken Default App Association

I recently accidentally deleted my sources list, but have successfully rebuilt. However, all default application like scratch, pantheon terminal, seemed to lose its default application association. ...
user avatar
  • 11
1 vote
1 answer
80 views

Missing spell check in file extensions other than *.txt

The Scratch spell check extension does not work with some file extensions such as *.tex or *.php in elementary OS Loki. Is there a workaround for this?
user avatar
  • 13
0 votes
2 answers
1k views

Unable to open scratch as root

When I open files as administrator and try to open a text file as root to edit it, scratch does not open. Wingpanel turns opaque as though scratch is maximized, but nothing displays. Eventually I get ...
user avatar
0 votes
1 answer
357 views

Text replacement in scratch-text-editor

How do you replace text on scratch? Usually, text replace prompt has two text fields, but what I get is a single text field. If I click "Replace" or "Replace all", found texts are replaced by null , ...
user avatar
  • 103
2 votes
0 answers
140 views

Print from Scratch as it looks in the editor [closed]

How do I print (to a file) from Scratch editor as it looks (mono-scpaced and syntax highlighted)?
user avatar
  • 21
0 votes
2 answers
3k views

How to install Scratch Text Editor in Ubuntu 16.04

I would like to know if it's possible to install Scratch text-editor in Ubuntu 16.04.
user avatar
3 votes
1 answer
366 views

How to modify scratch text editor bracket completion plugin?

I want to modify the brackets completion plugin but I can't find a way, is even possible to do so? or I have to write a new plugin?
user avatar
  • 31
1 vote
1 answer
400 views

How to write plugin for scratch text editor from elementary os?

I've been using scratch for quite some time and its features as an IDE are very limited. So I was wondering how to develop/install new third party plugins for it but I was unable to find any ...
user avatar
3 votes
2 answers
68 views

Make Scratch stop asking to save a file before closing a file [closed]

How can I make Scratch stop asking to save before closing a file, while I make no changes? This happens when I did Preferences > Behavior > radio button off 'Save files when changed'. Thank-you!
user avatar
2 votes
2 answers
583 views

How do I find shortcuts to text editor Scratch?

Hi I would like to know how to change between the in-build terminal and text editor tabs without mouse in scratch.
user avatar
  • 23
0 votes
1 answer
215 views

Scratch editor binary file load and session restoring problems

I'm on Freya. Scratch editor can't load (large?) binary files. It get stuck. Then if I force-close the app, when reopening it, it tries to restore the session and get stuck again. How can I 'recover' ...
user avatar
  • 171
2 votes
1 answer
2k views

Where does Scratch saves temporary files?

I've set Scratch to show a welcome screen every time I open it so it doesn't show what I was doing previously. However, I just accidentally closed it and lost something I didn't save that I want to ...
user avatar
  • 1,974