Comments (6)
As you say there's not much to go on - some example would be needed. Also note that there are cases when auto pairs are by design not inserted, I can't say whether this is the case here of course, but the spec shows some examples of this. The logic for determining whether to insert auto pairs or not can be improved, but the cases I've found are additional cases where I would not want the auto pairs inserted, and so would hardly help given your description. I'm closing this for now as there's not anything I can look at without more information, but please reopen if you can find a concrete example of it going wrong.
from howl.
@nilnor It's hard. All I know is this:
- Run
howl x.coffee
. - Type something
f(
in the buffer.
About 10% of the time, the right parenthesis appears when the left one is entered. Other times, it won't.
It's also one-for-all: if that first right parenthesis does not appear, the auto-pairs never again work in that session. If the right parenthesis does appear, then it will continue working.
Also: I have no button to reopen... :O
from howl.
Sounds like it's easy for you to reproduce though? It fails at around 90% of the time? I can't reproduce this at all I'm afraid, and have never seen this before. If you start Howl from the console, is there something being logged when this happens? Is it only with Coffeescript?
from howl.
- Nothing is logged.
- It happens with every lexer I've tried: C, CoffeeScript, Python, Ruby, Clojure, etc. I picked CoffeeScript because it was the language I was using at the moment.
from howl.
Since I've never seen this myself, I suspect that it could also be due to some local configuration on your side. At any rate, I can't troubleshoot when I can't reproduce, so you will have to do some investigating on your side. I suggest starting up without your init file and see if the problem persists. If not, there's something there that causes this which would help narrow it down. Apart from that some carefully placed print
s here and there should help you narrow it down. Good places for these printouts would be auto_pair.handle()
and if it turns out not to be called at all Editor._on_keypress
.
from howl.
from howl.
Related Issues (20)
- Unable to override ruby mode extensions HOT 4
- HOME key behavior
- Buffer list can be cluttered by outputs. HOT 4
- Pasting from clipboards managers don't work correctly HOT 11
- js syntax highlighting: string delimeters in regex
- bundle access to outside lib HOT 1
- Allow selection of file with mouse click/doubleclick on dialogs like search results to open it
- Feature request: Multi line edit
- Unable to set vi-on as default at startup HOT 2
- save_current_session HOT 1
- New view above or below always split the whole window.
- Impossible to see if a buffer is saved at the first glance (unlike most editors). HOT 4
- Plan to be arm64 compatible? HOT 3
- How to turn off autocompletions? HOT 2
- Missing "gtk+-3.0.pc" for building.
- Autocleaning the buffer list on quit.
- Go bundle fails to detect gocode
- Feature request: sudo save
- Successfully configured Howl to detect indentation from opened file - next steps?
- Font size not applied to the console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howl.