Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Dollar symbol removed when showing autocomplete results #26

Open
flipsiderich opened this issue Dec 14, 2015 · 2 comments
Open

Dollar symbol removed when showing autocomplete results #26

flipsiderich opened this issue Dec 14, 2015 · 2 comments

Comments

@flipsiderich
Copy link

Thanks for atom-inline-autocomplete, this is similar to the most useful feature in Komodo IDE which I've used for years. I develop in Perl and find that if I hit Esc to trigger the auto-complete with your package, any preceding '$' or '%' character is removed, e.g. if my code is:

!/usr/bin/perl

use strict;
my $variable = 123;

Then I type:

$v

and then hit Esc, I end up with:

variable

i.e., the '$' has been removed.

Atom 1.2.4 on OS X 10.11.1

@alexchee
Copy link
Owner

I can't seem to duplicate this issue, it might be another package that conflicts with this.

@zdenko
Copy link

zdenko commented Dec 4, 2017

This happens because $ is not in "Non Word Characters" list. I had the similar issue with PHP.
This list can be found under the Preferences => Packages => language-perl => Settings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants