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
1answer
24 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 ...
1
vote
1answer
27 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
1
vote
2answers
143 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.
0
votes
0answers
25 views

wifi on the HP Stream 11

My question is about wifi code Hi I.m new and pulling my hair out, successfully installed E OS on a HP Stream 11 blue edition, I have the next edition up, purple and the wifi braodcom will not load/...
0
votes
0answers
32 views

Vim keybindings not working in Code

I'm using the elementary editor Code, trying to use the vim bindings plugin. If I press esc, I can't type, which I expect, but vim commands don't work either. IE, 5dd doesn't do anything, ctrl-v doesn'...
0
votes
0answers
23 views

Vertical Selection on Code

How can I vertically select text on Code text editor?
2
votes
2answers
793 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 ...
1
vote
2answers
400 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, ...
0
votes
0answers
134 views

Does the Main CODE IDE in ElementaryOS have any extensions?

I started using the newly reformed Scratch editor now called Code in ElementaryOS. My main editor is VSCode but I thought you know why not but I am having some trouble figuring out if it actually uses ...
0
votes
0answers
37 views

Is it possible use jedi on Code editor?

Code is a great code editor, but autocompletion is a necessary tool to code faster. Does someone know if it is possible use jedi or another autocompletion on Code? P.S: I usually code in Python.
0
votes
0answers
15 views

Elementary tweaks causing a error on upgrade?

Has anyone else had errors with 'apt upgrade' returning invalid signatures even after rerunning install ?
0
votes
3answers
175 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.
2
votes
1answer
357 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. ...
0
votes
0answers
26 views

cannot create new file in code

I cannot create a new file in code Current duplicate solution does not work. Can't open a new tab or new file on scratch
0
votes
1answer
54 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, ...
0
votes
1answer
88 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 ...
0
votes
0answers
11 views

Search engine forgets my search after clincking in the text

That's what I wanted to do: 1. search for some terms, very occurent in a text file 2. select the occurence and copy it 3. continue to next occurence. It seems the searched terms are forgotten when I ...
0
votes
0answers
45 views

How elementary manage to do screenshot?

I love the shortcuts of Elementary OS to take screenshots. You can with one key switch between clipboard/screenshot folder, with an other key screenwide/window and an other to toggle the free ...
1
vote
0answers
13 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 ...
1
vote
1answer
73 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 ...
0
votes
0answers
26 views

Change tag highlight behavior in Code program?

Using Code program in Juno, When cursor reach the beginning or the end of a tag, the superior and inferior characters get highlighted. That is a great feature, but it does hide the cursor prompt and ...
3
votes
1answer
110 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 ...
0
votes
0answers
247 views

Does 'code' sends data to elementary OS?

Does the "Code" program that comes with elementary OS upload anything you write to any servers or anything? I'm assuming it's all private and keeps everything you write in it on your local drive. I've ...
1
vote
1answer
125 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 ...
1
vote
1answer
109 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.
1
vote
2answers
416 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.
4
votes
1answer
530 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.
0
votes
1answer
214 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 ...
2
votes
1answer
130 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 ...
1
vote
1answer
955 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 ...
0
votes
4answers
2k 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. ...
3
votes
1answer
352 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?
1
vote
0answers
72 views

Problem with Cirillic. How can I change code table (cp1251 or koi-8)?

How can I change code table (cp1251 or koi-8)? I did not find any preference for it.
1
vote
1answer
72 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?
1
vote
1answer
63 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?
12
votes
3answers
2k views

How can I clear currently opened files in Scratch?

Whenever I try and open Scratch, it tries to load the files I previously had open. While I want to keep the behaviour, one of the files I opened was an SVG of several MBs. As a result, Scratch now ...
0
votes
1answer
174 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 ...
1
vote
1answer
463 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 ...
0
votes
1answer
206 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' ...
0
votes
1answer
245 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 ...
2
votes
3answers
162 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.
9
votes
1answer
1k views

How can I add a color scheme to Scratch?

Scratch comes with several color schemes by default. I can choose between them in Preferences > Interface. How can I add my own custom color schemes?
1
vote
0answers
81 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. ...
1
vote
1answer
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?
0
votes
2answers
952 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 ...
0
votes
1answer
347 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 , ...
0
votes
2answers
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.
2
votes
0answers
138 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)?
4
votes
2answers
523 views

Scratch is not responding when I try to edit a file

When I try to open Scratch, a window appears and I need to use the "force close" option. How may I solve this problem? I really like the Scratch UI, so I want to use this application. When try to ...
3
votes
2answers
67 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!