Git Product home page Git Product logo

dalek's Introduction

Atom

Build status

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.

Atom

Atom Screenshot

Visit atom.io to learn more or visit the Atom forum.

Follow @AtomEditor on Twitter for important announcements.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

Documentation

If you want to read about using Atom or developing packages in Atom, the Atom Flight Manual is free and available online. You can find the source to the manual in atom/flight-manual.atom.io.

The API reference for developing packages is also documented on Atom.io.

Installing

Prerequisites

macOS

Download the latest Atom release.

Atom will automatically update when a new release is available.

Windows

Download the latest Atom installer. AtomSetup.exe is 32-bit. For 64-bit systems, download AtomSetup-x64.exe.

Atom will automatically update when a new release is available.

You can also download atom-windows.zip (32-bit) or atom-x64-windows.zip (64-bit) from the releases page. The .zip version will not automatically update.

Using Chocolatey? Run cinst Atom to install the latest version of Atom.

Linux

Atom is only available for 64-bit Linux systems.

Configure your distribution's package manager to install and update Atom by following the Linux installation instructions in the Flight Manual. You will also find instructions on how to install Atom's official Linux packages without using a package repository, though you will not get automatic updates after installing Atom this way.

Archive extraction

An archive is available for people who don't want to install atom as root.

This version enables you to install multiple Atom versions in parallel. It has been built on Ubuntu 64-bit, but should be compatible with other Linux distributions.

  1. Install dependencies (on Ubuntu):
sudo apt install git libasound2 libcurl4 libgbm1 libgcrypt20 libgtk-3-0 libnotify4 libnss3 libglib2.0-bin xdg-utils libx11-xcb1 libxcb-dri3-0 libxss1 libxtst6 libxkbfile1
  1. Download atom-amd64.tar.gz from the Atom releases page.
  2. Run tar xf atom-amd64.tar.gz in the directory where you want to extract the Atom folder.
  3. Launch Atom using the installed atom command from the newly extracted directory.

The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.

Building

Discussion

License

MIT

When using the Atom or other GitHub logos, be sure to follow the GitHub logo guidelines.

dalek's People

Contributors

ben3eee avatar daviwil avatar lee-dohm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dalek's Issues

Dalek reports: "<unknown> is deprecated" issues

To reproduce:

  1. Run apm install tree-view
  2. Start Atom
  3. Check the deprecation message. Dalek reports that tree-view is deprecated and asks to report issue
  4. Click to report issue

Expected: The title of the issue is tree-view is deprecated.
Actual: The title of the issue is <unknown> is deprecated.

Refs: atom/spell-check#248

<unknown> is deprecated.

You have the core package "dalek" installed as a community package. See https://github.com/atom/dalek for how this causes problems and instructions on how to correct the situation.

<unknown> (C:\Users\username\.atom\packages\dalek\lib\main.js:14:14)
undefined.next (null:null:null)
step (C:\Users\username\.atom\packages\dalek\lib\main.js:1:352)
process._tickCallback (internal/process/next_tick.js:103:7)

How to leave community package.

What if we want the community package instead of the core package?

Some times we want to edit a core package to fit our needs and use the linked package instead of the core package.

No warning after installing core package as community package

Description

While @Ben3eeE was walking me through testing PRs on core packages, we found that the Dalek package wasn't warning us after installing a core package as a community package and then starting Atom.

Steps to reproduce

  1. Install a core package with apm e.g. apm install find-and-replace.
  2. Start Atom

For example:

$ apm install find-and-replace
The find-and-replace package is bundled with Atom and should not be explicitly installed.
You can run `apm uninstall find-and-replace` to uninstall it and then the version bundled
with Atom will be used.

Then started Atom and see no warning though we can see:

installed-core-package

Expected behavior:

Expect to get warning about the core package installed as a community package.

Actual behavior: [What actually happens]

Actual behavior is that there's no warning after starting Atom.

Versions

atom -v
Atom    : 1.22.0-dev-841104a73
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

macOS 10.12.6

Additional Information

@Ben3eeE dug into things more ๐Ÿ” and mentioned:

it regressed in Atom 1.17. Probably from snapshot changes. The dalek package uses atom.packages.getAvailablePackagePaths()to find duplicate packages and that no longer returns both packages. It only returns the find-and-replaceI installed manually. It seems that this function changed with snapshots in atom/atom@b913ad8

Deprecated calls: ~/.atom/packages/dalek/lib/main.js:14:14 undefined.next - null:null:null

Deprecated calls
dalek (1 deprecation)

  • /home/bike/.atom/packages/dalek/lib/main.js:14:14
    undefined.next - null:null:null
    step - /home/bike/.atom/packages/dalek/lib/main.js:1:352
    process._tickCallback - internal/process/next_tick.js:103:7

Environment:
Elementary OS Loki 0.4 (Ubuntu 16.04 LTS based)
Atom 1.16.0 x64

this package has installed both Community Packages and Core Packages.
I have to remove this on terminal:

$ apm uninstall dalek

Then restart Atom.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.