Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Atom hangs when "}" is deleted when editing .thrift file #7644

Closed

Description

@prashantv

I have the language-thrift package (https://atom.io/packages/language-thrift) installed.

When editing a Thrift file, enter the following code:

exception SimpleErr {
  1: string message
}


service SimpleService {
  void Simple() throws (1: SimpleErr simpleErr)
}

If you delete the "}" at the end of the exception block, the whole editor freezes up.

This seems to be an issue with the grammar / syntax parsing.

Activity

  1. kubetz commented on Jul 2, 2015

    @kubetz

    If you close all running instances of atom, run it in safe mode with atom --safe and it stops freezing, then it is not a problem of atom/atom you need to open an issue for language-thrift plug-in here.

    Also providing information about atom version and operating system always helps 👍 .

  2. izuzak commented on Jul 2, 2015

    @izuzak
    Contributor

    I was able to reproduce this, but not sure where the problem might be. @nathansobo can you take a quick look? Could a "bad" grammar cause such behavior and is there anything we can do about that?

  3. nathansobo commented on Jul 2, 2015

    @nathansobo
    Contributor

    Taking a look.

  4. nathansobo commented on Jul 2, 2015

    @nathansobo
    Contributor

    The fix for this is nontrivial, but I'm working on it. Could take some time.

  5. self-assigned this
    on Jul 6, 2015
  6. nathansobo commented on Jul 7, 2015

    @nathansobo
    Contributor

    Thanks for the detailed report and sorry for the hassle. This will be fixed in 1.0.1, scheduled to go out this week.

  7. prashantv commented on Jul 7, 2015

    @prashantv
    Author

    Thanks for fixing this so quickly Nathan! Looking forward to the next release

  8. lock commented on Jan 21, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  9. locked as resolved and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions