# How best to use a custom module?

**URL:** <https://discourse.julialang.org/t/how-best-to-use-a-custom-module/77066>\
**Category:** General Usage\
**Tags:** question, modules, code-organization\
**Created:** [February 25, 2022, 1:28pm UTC](https://discourse.julialang.org/t/how-best-to-use-a-custom-module/77066 "2022-02-25T13:28:05Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![LeoK987](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leok987/32/4880_2.png) [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Post date:** [February 27, 2022, 6:51pm UTC](https://discourse.julialang.org/t/how-best-to-use-a-custom-module/77066/13 "2022-02-27T18:51:25Z")

</div>

getting all my code into one course file is not an option.

Perhaps I will try to put my modules into a package.

I found the core of my issue relates to this unsolved thread:

> [@How to make vscode aware of user modules](https://discourse.julialang.org/t/how-to-make-vscode-aware-of-user-modules/22948):
>
> The vscode plugin is taking the LOAD\_PATH of packages not into account, therefore symbols in my own code are not found. I am trying to fix that, but need some help. What I tried so far: tried to edit the file “~/.vscode/extensions/julialang.language-julia-0.11.5/scripts/languageserver/main.jl”. Adding: push!(LOAD\_PATH, "PATH\_TO\_MY\_MODULES") had now effect. 2. In the following file: [LanguageServer.jl/languageserverinstance.jl at master · julia-vscode/LanguageServer.jl · GitHub](https://github.com/JuliaEditorSupport/LanguageServer.jl/blob/master/src/languageserverinstance.jl) a language s…

---

_[View the full topic](https://discourse.julialang.org/t/how-best-to-use-a-custom-module/77066)._
