-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin is not registering externally created files and directories #24
Comments
I'm exactly following those steps, but the files all register and switching works @KuddLim. Can you check if this is still an issue with 0.27.1 |
Still not working with 0.27.1. My test scenario is:
I am not familiar with coffeescript, so I placed some notification codes in lib/switch-header-source.coffee. In function "switch: (step) ->"
How can I see all items in @SwitchMap in coffeescript? |
Oh, yeah, that won't work with the new version. I'm indexing the project
directories. You can add ~/sha_test to the project. Is this an important
scenario? I'd have to think about how to make that work again.
…On Mon, Jan 1, 2018, 6:13 PM KuddLim ***@***.***> wrote:
Still not working with 0.27.1.
My test scenario is:
1. Place bunch of headers and source files in ~/working
2. Open ~/working with atom.
3. Open header or source file and package works correctly. => WORKING
4. Open ~/shs_test/test.cpp. (which is not in current atom directory)
5. Press Alt-o and see if package works correctly. => NOT WORKING
I am not familiar with coffeescript, so I placed some notification codes
in lib/switch-header-source.coffee.
In function "switch: (step) ->"
- "key" is "test"
- result of @switchMap.get key is undefined. (value of key is "test")
So, codes within if block does not run.
How can I see all items in @SwitchMap in coffeescript?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMWPsI6qD3RlsoK_TOTQmQaSC_E185Mks5tGYLWgaJpZM4RPQze>
.
|
Yes, that is important to me. Could you please add feature switching files in out-of-directory? Thank you. |
Reported by @KuddLim in #22 :
I guess swithMap is built when atom project (folder) is loaded. So, when I open some file outside this directory, I cannot switch header/source.
The text was updated successfully, but these errors were encountered: