Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Create a class under a folder that starts with . causes to put an incorrect namespace #18

Open
tugberkugurlu opened this issue Dec 23, 2016 · 1 comment

Comments

@tugberkugurlu
Copy link
Contributor

If you create a class under folder .template, it creates a namespace called .template. I wonder if there is an API in roslyn to get invalid namespace chars and replace them with _.

I am also not sure if this is covered but any namespace that starts with a number is also invalid. So, above approach would fail there.

@simsod
Copy link
Collaborator

simsod commented Mar 2, 2017

This extension isnt using Roslyn under the hood. We´re hoping that the omnisharp-vscode extension in the future will be able to expose it´s language service so that other extensions can use it.

However, this issue could be fixed just by a replacing some chars ;)

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

2 participants