nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.92k stars 334 forks source link

Hydrogen causes duplicate language entries for certain python grammars #1851

Open wesinator opened 4 years ago

wesinator commented 4 years ago

Prerequisites

Description

With Hydrogen enabled in Atom , it seems duplicate language entries are given for Python traceback and console grammars.

Originally reported at https://github.com/atom/atom/issues/18852 , I encountered this again.

Steps to Reproduce

  1. Hydrogen enabled
  2. New file, select language, type python in the filter

Versions

OS version: Ubuntu 18.04

atom --version

1.42.0 x64

apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.42.0
python 2.7.17
git 2.24.1

Hydrogen version:

2.13.1

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

Logs

[Please post any error logs and the output of the developer tools as described in our Debugging Guide.]

Expected behavior

Don't show duplicate language grammars

Screenshots

image

Additional context

wadethestealth commented 4 years ago

This could have something to do with our legacy textmate grammar. I'll look into this more in the next couple of weeks to find a cause.