Giter Club home page Giter Club logo

cucumber-sublime-bundle's People

Contributors

amisarca avatar bubenkoff avatar cpunion avatar drewda avatar erbridge avatar gabriel-kaam avatar mrliptontea avatar robzenn92 avatar scottstensland avatar tdd avatar tnypxl avatar twolfson avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cucumber-sublime-bundle's Issues

Auto-complete causes Sublime to hang if cursor is not in step

When I bring up auto-complete manually in any other line than the one defining a step, for example if I try to auto-complete a word in the feature name or feature description, Sublime Text hangs. I've tried to wait for few minutes to look if it ever finishes whatever it's doing, but it never does.

I'm not sure why is this happening, I've added print('foo') at the beginning of on_query_completions, opened the console but it was never reached.

I'm using Sublime Text 3, build 3083, Windows x64.

Errors on startup

ST3 on Linux.

reloading plugin Cucumber.table_cleaner
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "table_cleaner in /home/felix/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 3, in <module>
ImportError: No module named 'table_commons'
reloading plugin Cucumber.table_commons
reloading plugin Cucumber.table_import
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "table_import in /home/felix/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 3, in <module>
ImportError: No module named 'table_commons'

Sublime Text 3

I understand this is a ST2 bundle, but is getting this working on ST3 on the radar? Just wondering, thanks!

ST3 highlighting and formatting works, but the table cleaner and the table import does not work.

`ALT` + `;` does nothing on Windows

Downloaded with Package Control.
Restarted
Selected this text:

  Examples: 
    | STRING                 | COLUMN NAME                   | 
    | TR.FloatPercent        | Float Percent                 |  
    | TR.Price52WeekHighDate | Date of Price - 52 Week High  |  
    | TR.TotalAssetsActual   | Total Assets                  | 
    | CF_CURR                | Currency                      |  
    | BID                    | Bid                           |  
    | VOLUME                 | Volume                        |

Held ALT key and pressed ; key.

Nothing happened.

Gherkin Auto-Complete Breaks in ST3

Today I must have gotten an auto update on this package and my autocomplete stopped working. After awhile I realized that it did work, but only on new, unsaved files. As soon as I saved the file, watching the console, I would see this:

Traceback (most recent call last):  
  File "/opt/sublime_text/sublime_plugin.py", line 358, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "GherkinAutoComplete in /home/dalvarez/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 103, in on_query_completions
  File "GherkinAutoComplete in /home/dalvarez/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 69, in is_feature_file
TypeError: argument of type 'NoneType' is not iterable

When I uninstalled this package, everything went back to normal.

A setting to disable autocomplete would be nice

It would be nice to be able to disable the crawling of projects for step definitions.

Sublime crawls to a halt when loading large projects especially when said project includes a large bundle of gems.

Option to disable gherkin indexing?

Thank you for creating this bundle I use it every day to get gherkin syntax highlighting and table formatting.

In ST3 I'm finding the gherkin indexing to be very slow. I do have a large number of features (over 1000), I don't really use the auto complete I was wondering if there was a way to disable that? For now I've just deleted GherkinAutoComplete.py to get going. Thanks in advance!

Cannot find table settings

Hi!

I cannot find the table settings, e.g. table_cleaner_delimiters
Also, I may have the same problem as described this issue
#33

Is anybody using this on windows with Sublime 3?

remove st2 support?

ST3 is not 'new' anymore, so should we support st2 still (it's a bit annoying to do so)

Few italian keywords are missing

According to the Gherkin's language, the italian's keywords for Given can be Dato,Data,Dati,Date. In this package, the only translation found for Given is Dato whereas the others are missing. So they should be added in step_keyword (here). Furthermore, the alias Esempio for Scenario is available in Gherkin yet it is still missing here. I'll open a pull request, hope you gonna merge soon.

Cheers.

Table Cleaner don't work

Maybe because it's installed in a folder inside this bundle, but the Table Cleaner don't work.

I just installed it standalone and everything is working fine (command via command pallet and shortcut).

Merge Sublime3 to master

I think it would be safe to assume that now more people are using Sublime 3 than Sublime 2.

Some tools (Boxen at least) will pull Sublime plugins from Github repos (see the Boxen module for Sublime) but only from master (no way to specify a branch).

The Sublime 2 version could be kept on a branch for those who still use it.

Wrong highlighting with # in table

Hello,
(I'm conscient that the project isn't followed upclose)

Just reporting that what is following the # is reported as a comment whereas it shouldn't.

Here is the following code:
And enter the login and password
| login | password |
| Mylogin | #4884 |

Causes ST4 to freeze

After installing this in ST4 and restarting the application, ST4 freezes instantly on startup making this package unusable.

Unfortunately it freezes instantly so I can't access the console to see what the cause is.

missing "Given Step Plaintext.tmSnippet" file

hi, I'm trying to use the Given snippet in .feature file and it seems not working. Is there any chance that the missing file "Snippets/Given Step Plaintext.tmSnippet" is causing the problem? tnx

putting this project up for adoption

After years of using Sublime Text and writing Gerkin, I now find myself doing neither. (I'm almost nearly switched over to Visual Studio Code, and I parted ways with Cucumber on mixed terms ;)

@bubenkoff, would you like me to transfer ownership of this repo over to you and your account?

If not, I will open this invitation to another contributor to take on the project. Please note that I will be looking for a certain level of involvement before passing the project over.

Unable to remove "&" table delimiter

This seems more like an issue with table cleaner plug-in by @amisarca
I was attempting to remove & table delimiter in Base File.sublime-settings (line 3) because I have tables that include ampersand like example below and would only need to use | as a delimiter:

| param1 | param2  |  
| foo    | foo&bar |

I ended up putting changing SEPARATOR = "&" to SEPARATOR = "|" in table_cleaner.py (line 17) to get around this limitation, but I was wondering if there is a more graceful solution to this.

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.