<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CodeEditor Archives - FODINA 4 FOSS</title>
	<atom:link href="https://fodina.de/tag/code-editor/feed/" rel="self" type="application/rss+xml" />
	<link>https://fodina.de/tag/code-editor/</link>
	<description>a treasure trove for free software, techniques, and ideas</description>
	<lastBuildDate>Fri, 11 Aug 2023 18:58:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>About Dead Horses: Atom vs. VSCod[e&#124;ium]</title>
		<link>https://fodina.de/vscodium/</link>
					<comments>https://fodina.de/vscodium/#respond</comments>
		
		<dc:creator><![CDATA[Karsten Reincke]]></dc:creator>
		<pubDate>Mon, 12 Dec 2022 07:26:44 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[CodeEditor]]></category>
		<guid isPermaLink="false">https://fodina.de/?p=4405</guid>

					<description><![CDATA[<p>The Atom page says: “Atom and all repositories under Atom will be archived on December 15, 2022″. The “hackable text editor for the 21st Century”, developed by GitHub — “[…] had not had significant feature development for the past several years” and that GitHub has therefore “[…] decided to retire Atom” in favor for “Microsoft [&#8230;]</p>
<p>The post <a href="https://fodina.de/vscodium/">About Dead Horses: Atom vs. VSCod[e|ium]</a> appeared first on <a href="https://fodina.de">FODINA 4 FOSS</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image"><figure class="alignleft size-medium is-resized is-style-default "><a href="https://fodina.de/wp-content/uploads/2023/05/dead-horse-pxh-1142556-600x900-1.png" data-fancybox><img decoding="async" src="https://fodina.de/wp-content/uploads/2023/05/dead-horse-pxh-1142556-600x900-1-200x300.png" alt="Riding a dead horse" width="60"></a></figure></div>



<p>The <a href="https://atom.io/"><em>Atom</em> page says</a>: “<em>Atom and all repositories under Atom will be archived on December 15, 2022</em>″. The <a href="https://atom.io/">“hackable text editor for the 21st Century”</a>, <a href="https://en.wikipedia.org/wiki/Atom_(text_editor)">developed by <em>GitHub</em></a> — <a href="https://github.blog/2022-06-08-sunsetting-atom/">“[…] had not had significant feature development for the past several years”</a> and that <em>GitHub</em> has therefore <a href="https://github.blog/2022-06-08-sunsetting-atom/">“[…] decided to retire Atom” in favor for “Microsoft Visual Studio Code”</a>. What a disappointment for an <a href="https://fodina.de/atom-ubuntu/">Atom lover</a> like me. So — what now?<span id="more-4405"></span></p>



<p class="has-text-align-right"></p><div class="container"><div class="d-flex justify-content-end sample-row"><div class="col-xs"><div class="text-right">[ en | <a href="https://karsten-reincke.de/vscodium">de</a> ]</div></div></div></div>



<div style="height:33px" aria-hidden="true" class="wp-block-spacer"></div>



<p>That <a href="https://www.heise.de/newsticker/meldung/Uebernahme-von-GitHub-durch-Microsoft-abgeschlossen-4205119.html" class="broken_link">“Microsoft had bought <em>GitHub</em>”</a> in 2018 might have facilitated that reasonable decision: A sponsor should not split his forces between two identical products — even if I, as a result, find myself again riding a dead horse. Thus, I have to change onto a living horse like <em>Visual Studio Code</em>, often recommended by my colleagues. But it should allow me to do, what I could do with Atom during the last years.</p>



<h2 class="wp-block-heading">1. What’s wrong with the Editor <em>Visual Studio Code</em></h2>



<p>People say “Microsoft Visual Studio Code” is open-source software. But we have to consider the situation thoroughly:</p>



<ul class="wp-block-list">
<li>Yes, the copyright owners distribute the <a href="https://github.com/microsoft/vscode">core of ‘Visual Studio Code’ — called <em>Code — OSS</em></a> — under the terms of the <a href="https://github.com/microsoft/vscode/blob/main/LICENSE.txt">MIT license</a>.</li>



<li>And, eventually, MS does with <em>Code — OSS</em>, what anyone else may do. It takes the core, enriches it, and embeds it into its own product biotope. “<a href="https://analyticsindiamag.com/is-microsofts-vs-code-really-open-source/">VS Code is a Microsoft licensed distribution of ‘Code – OSS’</a> that includes Microsoft proprietary assets and features like Visual Studio Marketplace integration and telemetry system that are not available in Code-OSS”. Accordingly, <a href="https://code.visualstudio.com/License/">“VS Code” is distributed under the terms of specific Microsoft License</a>.</li>



<li>Even if <a href="https://code.visualstudio.com/docs/getstarted/telemetry">you can stop the telemetry data from being sent</a>, actually there is another stone of contention. We extend the functionality of <em>VSCode</em> by — surprise — extensions from the <a href="https://marketplace.visualstudio.com/VSCode">Visual Studio Marketplace</a>. But these extensions are — as the <em><a href="https://cdn.vsassets.io/v/M190_20210811.1/_content/Microsoft-Visual-Studio-Marketplace-Terms-of-Use.pdf">Microsoft Visual Studio Marketplace Terms of Use</a></em> say — “[…] intended for use only with In-Scope Products and Services” (<a href="https://cdn.vsassets.io/v/M190_20210811.1/_content/Microsoft-Visual-Studio-Marketplace-Terms-of-Use.pdf">§1.b</a>) where the term <em>In-Scope Products</em> is defined as “products and services […] offered by us [Microsoft] and GitHub […]” (<a href="https://cdn.vsassets.io/v/M190_20210811.1/_content/Microsoft-Visual-Studio-Marketplace-Terms-of-Use.pdf">§0/Opening</a>).</li>
</ul>



<p>So, although ‘VSCode’ is open source software and MS does with the Code-OSS what it may do, MS restricts the use of the extensions. We may not use/install MS extensions provided by MS in any other <em>Code-OSS</em> program provided by any other distributor, even if these extensions themselves mostly are free software.</p>



<p>This may be legally okay, but it smells a little. Thus, I looked for an alternative. Here are the results of my efforts:</p>



<h2 class="wp-block-heading">2. What’s wrong with the Editor <em>VSCcodium</em></h2>



<p><em>VSCodium</em> is intended to be the <a href="https://vscodium.com/">“Free/Libre Open Source Software Binaries of VS Code”</a>: It wants to solve the license issues of VSCode and delivers <a href="https://vscodium.com/">“binaries […] licensed under the MIT license (with disabled) Telemetry […]”</a>. Consequently, using <em>VSCodium</em> legally excludes the installation of extensions, offered by the <em>Visual Studio Marketplace</em>, even if <a href="https://github.com/VSCodium/vscodium/blob/master/DOCS.md" class="broken_link">it is technically possible</a></p>



<p>To alleviate this problem, we can use another <a href="https://open-vsx.org/">free Marketplace for “Extensions for VS Code Compatible Editors”</a>: <a href="https://open-vsx.org/">OPEN VSX</a>. But there is still an open issue: <a href="https://github.com/VSCodium/vscodium/blob/master/DOCS.md#howto-openvsx-marketplace" class="broken_link">“Since (Open VSX) is a rather new project, you will likely miss some extensions you know from the VS Code Marketplace”</a>.</p>



<p>Thus, we need joy in figuring things out. We must stay open to alternatives if our <em>VSCodium</em> shall run in the same manner as our <em>Atom</em> did.</p>



<h2 class="wp-block-heading">3. What Could My Atom Instance Do?</h2>



<p>My <em>Atom</em> instance offered me</p>



<ul class="wp-block-list">
<li>[x] text editing with <em>vim</em> commands</li>



<li>[x] syntax highlighting for</li>



<li>[x] markdown files with GitHub flavor</li>



<li>[x] LaTeX files</li>



<li>[x] LilyPond files</li>



<li>[x] Javascript, CSS, HTML</li>



<li>[x] a markdown preview</li>



<li>[x] a conversion of GitHub flavored markdown files to PDF</li>



<li>[x] a spell checker even for multilingual documents</li>



<li>[x] indentation with blanks instead of <code>tabs</code></li>
</ul>



<p>Atom had many more options, of course. But I only needed these over a long period.</p>



<h2 class="wp-block-heading">4. <em>VSCodium</em> as Replacement for <em>Atom</em></h2>



<h3 class="wp-block-heading">4.1 Installing <em>VSCodium</em> in Ubuntu 22.04</h3>



<p>The following section follows an article from linuxcapable.com:</p>



<ol class="wp-block-list">
<li>Update your installation by <code>sudo apt update &amp;&amp; sudo apt upgrade</code></li>



<li>Install a required layer by <code>sudo apt install apt-transport-https gnupg2 -y</code></li>



<li>Integrate the <em>VSCodium</em> key into your keyring by <code>wget -O- https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo gpg --dearmor | sudo tee /usr/share/keyrings/vscodium.gpg</code></li>



<li>Integrate the <em>VSCodium</em> repository in your environment by <code>echo deb [signed-by=/usr/share/keyrings/vscodium.gpg] https://download.vscodium.com/debs vscodium main | sudo tee /etc/apt/sources.list.d/vscodium.list</code></li>



<li>Let the list of sources be updated by <code>sudo apt update</code></li>



<li>Install <em>VSCodium</em> by <code>sudo apt install codium -y</code></li>
</ol>



<h3 class="wp-block-heading">4.2 Customizing <em>VSCodium</em></h3>



<p>One thing in advance: By default, <em>VSCodium</em> uses the <em>OPEN VSX Marketplace</em>. Hence, you can install, what you want without violating the <em>Microsoft Rules</em></p>



<h4 class="wp-block-heading">4.2.1 Configure <em>VSCodium</em></h4>



<p>Before installing extensions, configure the existing options by calling <code>File/Preferences/Settings</code> and inserting the following values</p>



<ol class="wp-block-list">
<li><code>Text-Editor: Tab Size =&gt; 2</code> <em>(no waste of space)</em></li>



<li><code>Text-Editor: Insert Spaces =&gt; true</code> <em>(The same structure image on different editors)</em></li>



<li><code>Text-Editor: Word Wrap =&gt; on</code> <em>(no manually inserted line breaks in paragraphs)</em></li>



<li><code>Text-Editor: Bracket Pair Colorization =&gt; true</code> <em>(don’t get lost in your code)</em></li>



<li><code>Text-Editor: Code Lense =&gt; true</code> <em>(permit context information)</em></li>
</ol>



<p>Then call <code>File/Preferences/Extensions</code>, search in the Marketplace for the following extensions, and press <code>install</code>:</p>



<h4 class="wp-block-heading">4.2.2 A VIM Mode</h4>



<p>The <em>Open VSX Marketplace</em> offers some VIM extensions. Personally, I felt a great difference between the original behavior and that of those who claimed to emulate it: some of them limit themselves to <em>Syntax Highlighting</em>, while others do not implement the <code>: commands</code>. In the meantime, I ended up with NeoVim once. But the handling of the cursor drove me crazy. Thus, I switched back to the standard extension <em>vscodevim</em>.</p>



<h4 class="wp-block-heading">4.2.3 Get Your Markdown Environment</h4>



<ul class="wp-block-list">
<li>Open <code>File/Preferences/Extensions</code> in <em>VSCodium</em>, insert <code>Markdown</code> in the search field and install</li>



<li><em>Markdown All in One</em> (yzhang)</li>



<li><em>Markdown Checkbox</em> (PKief)</li>



<li><em>Markdown Converter</em> (manuth)</li>
</ul>



<p>You reach the preview via</p>



<ul class="wp-block-list">
<li>selecting the window symbol in the upper right corner for getting the preview or</li>



<li>opening <code>View/Command Palette</code> and insert <code>&gt;Markdown preview</code></li>
</ul>



<p>For converting the md-document to PDF, open <code>View/Command Palette</code> and insert <code>&gt;Markdown convert</code></p>



<p>At your first conversion order, the tool asks you to permit the download of a Chromium instance into the extension directory. If that does not fit the policy of your machine, you can configure the <code>Chromium Path</code> in <code>Settings/Extensions/MarkdownConverter-Options</code></p>



<h4 class="wp-block-heading">4.2.4 Get Your LaTeX Environment</h4>



<p><em>VSCodium</em> has a built-in <em>syntax highlighting</em> for <em>LaTeX</em>. (There is still an extension <em>LaTeX language support</em>, but that’s relevant only for elder <em>VSCodium</em> versions)</p>



<p>For converting LaTeX Files into PDF (etc.), I use the means and tools on the Ubuntu level.</p>



<h4 class="wp-block-heading">4.2.5 Get Your Lilypond Environment</h4>



<ul class="wp-block-list">
<li>Open <code>File/Preferences/Extensions</code> in <em>VSCodium</em>, insert <code>LilyPond</code> and install <em>LilyPond Syntax</em> (jeandeaual)</li>
</ul>



<h4 class="wp-block-heading">4.2.6 Get Your Web-Developer Environment</h4>



<ul class="wp-block-list">
<li><em>VSCodium</em> has built-in syntax highlighting for HTML, Javascript, and <em>CSS</em>.</li>
</ul>



<h4 class="wp-block-heading">4.2.7 A good Spell-Checker Environment for <em>LaTex</em>, <em>Markdown,</em> etc.</h4>



<ul class="wp-block-list">
<li>Open <code>File/Preferences/Extensions</code> in <em>VSCodium</em>, insert <code>LTeX</code> and install <em>LTeX LanguageTool …</em> (valentjn) [Note: <em>LTeX</em> is not a typo!]</li>



<li>Open <code>File/Preferences/Settings/Extensions/LTeX</code> in <em>VSCodium</em> and set <code>LTeX:Language =&gt; de-DE</code> or whatever your preferred language is.</li>



<li>If you are going to write a document in another language, open it with a respective <em>magic comment</em></li>



<li>in <em>LaTeX</em>: <code>% LTeX:Language=en-US</code></li>



<li>in <em>Markdown</em>: <code>&lt;!-- LTeX:Language=en-US --&gt;</code></li>



<li>If you want to add a piece of foreign text to your document, insert the respective magic comment above this text and the respective <em>resetting</em> comment a line after it.</li>
</ul>



<h3 class="wp-block-heading">4.2.8 Some Other Helpful Extensions</h3>



<ul class="wp-block-list">
<li><em>Auto Close Tag</em> (formulahendry) (Automatically add HTML/XML close tag,)</li>



<li><em>Auto Rename Tag</em> (formulahendry) (Automatically rename paired HTML/XML tag)</li>



<li><em>Better Comments</em> (aaron-bond) (Colorize and rank your comments: Important, TODO, …)</li>



<li><em>CodeSnap</em> (adpyke) (Take beautiful screenshots of your code via expanded context menu )</li>



<li><em>File Utils</em> (sleistner) (Rename, move, … files via expanded context menu)</li>



<li><em>Prettier</em> (esbenp) (Let your documents consistently be formatted)</li>



<li><em>Scheme</em> (jeandeaual) (Deal with ‘Scheme’ documents used in <em>Lilyoond</em>)</li>



<li><em>TODO Highlight</em> (wayou) (Let the TODOs in a document be highlighted)</li>



<li><em>vscode-pdf</em> (tomoki1207) (View PDFs inside of <em>VSCodium</em>)</li>



<li><em>YAML</em> (redhat) (Deal with YAML files)</li>



<li><em>YAML &amp; JSON</em> (hilleer) (convert YAMl 2 JSON and vice versa)</li>
</ul>


  <hr class="wp-block-separator has-alpha-channel-opacity">
<h5 class="wp-block-heading"><i class="fa-solid fa-gear"></i> And in what way is this …</h5>
  <p class="myPageContext">… part of the overarching topic <i class="fa-brands fa-linux"></i> 
  FOSS <i class="fa-brands fa-osi"></i>? 
  Well, my <a href="http://fodina.de/kreincke/">professional life</a> is dominated by free software
  and open source compliance. But sometimes I find more offbeat 
  <a href="http://fodina.de/cwa/">tools</a> that are still worth sharing 
  — at least with my forgetful future ‘me’. To whom I like to recommend — for example — 
  <a href="http://fodina.de/atom-ubuntu/">suitable</a>, advanced 
  <a href="http://fodina.de/vscodium/">editors</a>. Or 
  <a href="http://fodina.de/gtgt/">ancient preparatory work</a>. 
  Or some free <a href="http://fodina.de/frescobaldi-ubuntu/">music editors</a> 
  for <a href="http://fodina.de/musescore-ubuntu/">compositoy work</a>. But with some posts, 
  I just want to remind my later ‘me’ of attitudes, points of view, and attitudes. 
  So that I don’t fall behind myself. That’s what it’s about in here too.
  </p><hr class="wp-block-separator has-alpha-channel-opacity">

<p>The post <a href="https://fodina.de/vscodium/">About Dead Horses: Atom vs. VSCod[e|ium]</a> appeared first on <a href="https://fodina.de">FODINA 4 FOSS</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://fodina.de/vscodium/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Atom on Ubuntu 20.04</title>
		<link>https://fodina.de/atom-ubuntu/</link>
					<comments>https://fodina.de/atom-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[Karsten Reincke]]></dc:creator>
		<pubDate>Sun, 09 Aug 2020 11:46:48 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[CodeEditor]]></category>
		<guid isPermaLink="false">http://127.0.0.1/kr/?p=2887</guid>

					<description><![CDATA[<p>I am a loyal soul. But my patience is limited. Ubuntu 20.04 displays the tips from Eclipse in black on black. Hmm. Markdown editors are cumbersome. Oops. And the ‘spell-check’ for German-English texts still doesn’t work. Grrr. So, it is time to conquer new frontiers: everyone is already talking about ‘Atom’. Let us give it [&#8230;]</p>
<p>The post <a href="https://fodina.de/atom-ubuntu/">Atom on Ubuntu 20.04</a> appeared first on <a href="https://fodina.de">FODINA 4 FOSS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I am a loyal soul. But my patience is limited. <em>Ubuntu 20.04</em> displays the tips from <em>Eclipse</em> in <em>black on black</em>. Hmm. Markdown editors are cumbersome. Oops. And the ‘spell-check’ for German-English texts still doesn’t work. Grrr. So, it is time to conquer new frontiers: everyone is already talking about ‘<a href="https://atom.io">Atom</a>’. Let us give it a try, even if Atom on <em>Ubuntu 04/20</em> enforces us to circumnavigate some cliffs.<span id="more-2887"></span></p>


<div class="container"><div class="d-flex justify-content-end sample-row"><div class="col-xs"><div class="text-right">[ en | <a href="https://karsten-reincke.de/atom-ubuntu">de</a> ]</div></div></div></div>



<div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div>



<p>First, let’s specify what Atom has to offer in order to please us:</p>



<ul class="wp-block-list">
<li>Spell checker for German-English texts …</li>



<li>with simultaneous syntax highlighting …</li>



<li>and code completion for Latex, Markdown, HTML PHP, C / C ++, Java, bash.</li>



<li>Seamless integration into a mobile laptop work environment.</li>



<li>Good markdown support.</li>
</ul>



<p>Then let’s install and configure this editor:</p>



<h2 class="wp-block-heading">The standard Ubuntu method doesn’t work straight ahead!</h2>



<p>At least since version 20.04, the new snap package format becomes a standard that you can hardly avoid. Many programs — including ‘Atom’ — are no longer offered as Debian packages, but have to be installed via the Ubuntu software center as snap packages. Sometimes, that works — but sometimes it doesn’t:</p>



<p>My first installation ran into a trap. After a few days, I did not find it any longer. Neither <code>snap list atom</code> nor <code>snap list --all</code> mentioned ‘Atom’ although I could still call the editor. This unwished modification cuts off the package from all automatic updates. My solution was ‘simple’: I successfully reinstalled ‘Atom’ via the Ubuntu Software Center. Then, the editor could be found again, could be removed without leaving any residue using <code>snap remove atom</code> (and could be reinstalled)</p>



<p>But — <a href="https://github.com/atom/atom/issues/20942">as described on the internet</a> — the version offered by the Ubuntu Software Center behaved ugly: with every call it unavoidably opened two completely useless documents. So I had to rule out this variant: If I wanted to be further annoyed, I could have stayed with Eclipse.</p>



<h2 class="wp-block-heading">The .deb detour also fails.</h2>



<p>The official Atom documentation describes <a href="https://flight-manual.atom.io/getting-started/sections/installing-atom/">two ways to install ‘Atom</a>’. The easier way is to download the .deb package and install it with <code>sudo dpkg -i atom-amd64.deb</code>. Unfortunately, that method fails because of unresolved dependencies.</p>



<h2 class="wp-block-heading">But at least a complex methods works …</h2>



<p>According to the second method, described by the <a href="https://flight-manual.atom.io/getting-started/sections/installing-atom/">Atom documentation</a>, you have to download the key, to expand the apt sources and to update the system before you can install the package:</p>



<pre class="wp-block-code"><code>1. wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
2. sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" &gt; /etc/apt/sources.list.d/atom.list'
3. sudo apt-get update
4. sudo apt-get install atom</code></pre>



<p>By this method you successfully get an editor integrated into the Ubuntu GNOME 3 desktop.</p>



<h2 class="wp-block-heading">… which still requires some additional packages …</h2>



<p>Officially, you can expand Atom by packages. The respective interface can be accessed via <code>Edit / Preferences / Install</code> (Linux) or via <code>File / Settings / Install</code> (Windows): In the upper text field one inserts the name of the desired package. Then, the system searches for the appropriate ‘index card’, which offers an <code>install</code>-button.</p>



<p>But occasionally, the integrated search does not work. Every call ends with the error <code>i.filter is not a function [object Object]</code>. It’s not Ubuntu itself that evokes this error, but — <a href="https://stackoverflow.com/questions/63029449/getting-i-filter-is-not-a-function-in-atom-while-searching-for-a-package">as the community assumes</a> — the Atom server.</p>



<p>In such cases, you reach your goal in a roundabout way: you search for the respective package via Google. Mostly, you will be offered a hit pointing to <a href="https://atom.io/packages/">https://atom.io/packages/</a>. The readme-file of the respective package often also describes how you can install it manually. Usually, you only have to type in<code>apm install $packagename</code> at your console. This command installs the package under <code>.atom/packages</code>. </p>



<p>By this method we can get the extra packages we need:</p>



<ul class="wp-block-list">
<li>First, we want to use ‘Atom’ as a LaTeX editor. To do this, we have to teach it the LaTeX syntax: <code>apm install language-latex</code></li>



<li>Second, we may want to use ‘Atom’ as a LaTeX IDE, so we have to make the LaTeX build commands accessible to it <code>apm install latex</code></li>



<li>Additionally, ‘Atom’ should check our spelling, in German and English texts. We will configure the multilingualism later. But then, ‘Atom’ shall not show us every LaTeX command as an error. But simultaneously, it’s supposed to verify our (LaTeX) code. Hence, we have to teach him that language via linter and its respective sub-modules: apm install linter linter-spell linter-ui-default linter-spell-latex. For the other languages, there is a corresponding command, e.g. apt install linter-</li>



<li>After all, we also want to use ‘Atom’ while we are working on a sunny terrace. The dark mode makes this extremely difficult. Fortunately, there is a package with which you can quickly switch between light and dark: apm install dark-mode. As usual, you find the respective toggle command under Packages/dark mode.</li>



<li>Fortunately, we hardly need to do anything for our Markdown activities: Syntax highlighting runs out-of-the-box. And by using the entry Packages/Markdown Preview we can directly view the HTML equivalent. But to convert a file into the PDF format without switching to the shell, we still need a package: <code>apm install markdown-pdf</code>. After having restarted Atom, we can configure the package under <code>File/Settings/Packages#markdown-pdf</code> and can call the conversion by <code>Packages/Markdown To PDF</code>.</li>
</ul>



<h2 class="wp-block-heading">… and some adjustments to the configuration:</h2>



<p>‘Atom’ can be configured in two ways: By calling <code>Edit/Preferences</code> (Linux) or <code>File/Settings/</code> (Windows) you open the configuration dialogues. In the sections <code>#Core</code> and <code>#Editor</code> you find the general properties you can set. But under <code>Edit/Preferences/#Packages</code> (Linux) or <code>File/Settings/#Packages</code> (Windows) you get access to the installed packages and their specific configuration options. </p>



<p>We need both methods:</p>



<ul class="wp-block-list">
<li>First, our ‘Atom’ should apply a soft line wrap, i.e. automatically wrap long text lines without inserting LFs (Linux) or CRs/LFs (Windows) into the text line itself. To activate such a behavior, we set a respective hook under …/Preferences#Editor.</li>



<li>Additionally, we also specify that the virtual break should not be at the edge of the window, but at the maximum line width by activating Soft Wrap At Preferred Line Length.</li>



<li>Furthermore, our ‘atom’ should be able to check the spelling in mixed-language texts. For activating such a capacity, we have to configure the package…/Preferences/Package/spell-check accordingly:
<ul class="wp-block-list">
<li>We activate Use Locales with a tick.</li>



<li>We insert <code>en-US, de_DE</code> in the field <code>Locales</code>.</li>
</ul>
</li>
</ul>



<h2 class="wp-block-heading">So, we got what we wanted to get:</h2>



<p>‘Atom’ specifies itself as a <a href="https://atom.io/">hackable text editor</a>. The network knows <a href="https://www.google.de/search?q=best&amp;q=atom&amp;q=package">its best extensions</a>. Such reviews can inspire us. The methods to install them are those with which we achieved our goals:</p>



<figure class="wp-block-table"><table><thead><tr><th></th><th>Feature</th><th>Status</th></tr></thead><tbody><tr><td>1.)</td><td>Spell checking for multilingual texts</td><td>✓</td></tr><tr><td>2.)</td><td>Context-sensitive spell checking for programming languages</td><td>✓</td></tr><tr><td>3.)</td><td>Syntax highlighting for Latex, HTML PHP, C/C++, Java, bash</td><td>✓</td></tr><tr><td>4.)</td><td>Code completion for Latex, HTML PHP, C/C++, Java, bash</td><td>✓</td></tr><tr><td>5.)</td><td>Integration in a mobile system even for sunny working places</td><td>✓</td></tr><tr><td>6.)</td><td>Markdown support</td><td>✓</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">A last confession</h2>



<p>Completely replacing <em>Eclipse</em> is impossible and unnecessary. Because no other system supports the development of domain-specific languages in a better way. It’s a blessing to have <em>XText</em> and <em>XTend</em>.</p>


  <hr class="wp-block-separator has-alpha-channel-opacity">
<h5 class="wp-block-heading"><i class="fa-solid fa-gear"></i> And in what way is this …</h5>
  <p class="myPageContext">… part of the overarching topic <i class="fa-brands fa-linux"></i> 
  FOSS <i class="fa-brands fa-osi"></i>? 
  Well, my <a href="http://fodina.de/kreincke/">professional life</a> is dominated by free software
  and open source compliance. But sometimes I find more offbeat 
  <a href="http://fodina.de/cwa/">tools</a> that are still worth sharing 
  — at least with my forgetful future ‘me’. To whom I like to recommend — for example — 
  <a href="http://fodina.de/atom-ubuntu/">suitable</a>, advanced 
  <a href="http://fodina.de/vscodium/">editors</a>. Or 
  <a href="http://fodina.de/gtgt/">ancient preparatory work</a>. 
  Or some free <a href="http://fodina.de/frescobaldi-ubuntu/">music editors</a> 
  for <a href="http://fodina.de/musescore-ubuntu/">compositoy work</a>. But with some posts, 
  I just want to remind my later ‘me’ of attitudes, points of view, and attitudes. 
  So that I don’t fall behind myself. That’s what it’s about in here too.
  </p><hr class="wp-block-separator has-alpha-channel-opacity">

<p>The post <a href="https://fodina.de/atom-ubuntu/">Atom on Ubuntu 20.04</a> appeared first on <a href="https://fodina.de">FODINA 4 FOSS</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://fodina.de/atom-ubuntu/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
