Skip to content
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

Suggest a module name for defmodule completion #338

Merged
merged 2 commits into from
Aug 25, 2023
Merged

Conversation

scohen
Copy link
Collaborator

@scohen scohen commented Aug 16, 2023

The defmodule completion snippet now does a best-effort attempt to guess the module name.

The guessing takes into account lib, test and test/support directories, and if it doesn't detect any of them, just uses the file name.

The defmodule completion snippet now does a best-effort attempt to
guess the module name.

The guessing takes into account lib, test and test/support
directories, and if it doesn't detect any of them, just uses the file name.
@scohen scohen requested a review from scottming August 16, 2023 18:33
@scohen scohen changed the title Suggest module name for defmodule Suggest a module name for defmodule completion Aug 16, 2023
@scohen
Copy link
Collaborator Author

scohen commented Aug 23, 2023

@scottming, thoughts?

@scohen scohen merged commit 28501cb into main Aug 25, 2023
6 checks passed
@scohen scohen deleted the defmodule-suggest-name branch August 25, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants