atom / toggle-quotes

An Atom package to toggle between single and double quotes
MIT License
77 stars 36 forks source link

It stopped working after latest atom update - Version 0.211.0 (0.211.0) #25

Closed prabackar closed 9 years ago

prabackar commented 9 years ago

The shortcut or Packages menu doesn't do anything!

In dev mode

1) JSON file works. 2) JS file - variable works var a = 'test'; 3) function returning an object doesnt' work

No errors in console.

Normal mode

none of it works

Let me know if I need to provide more information! Thanks

prabackar commented 9 years ago

It started to work now. May be system restart helped.

jsg2021 commented 9 years ago

It still doesn't work for me 99% of the time.

Here is an example snippet:

import React from 'react';

let {basePath = '/'} = global.$AppConfig || {};

import AppView from './AppView';

let app = React.render(
    React.createElement(AppView, {basePath}),
    document.getElementById('content')
);

global.onbeforeunload = () => app.setState({mask: 'Reloading...'});

interestingly, if the destructured statement is switched to just a variable declaration/assignment many of the strings become togglable. But not all. 'content' seems to not be togglable at all.

jsg2021 commented 9 years ago

I still cannot get it to work. Even when i invoke the command from the pallet.