Multiline comment in Elixir

Elixir does not have multiline comments. However, one very common use case for multiline comments is documenting modules and functions, for which you can use the module attributes @doc and @moduledoc together with heredocs. defmodule MyModule do @moduledoc “”” This module is great at X “”” @doc “”” Frobnicates the given string. “”” def frobnicate(s) … Read more

How do I stop Visual Studio from automatically adding the end-of-comment characters when I start a new comment in a CSS file

I’m afraid there isn’t an option to change this in Visual Studio, at least not one I can see. I’ve had the same issue sometimes, and generally use three ways around it: Select the lines to comment out and use the keyboard shortcut: CTRL+K, C Cut the closing */ and paste it at the end … Read more

Create comments for views in mysql

According to the create view syntax there is no way currently to add comment a view: https://dev.mysql.com/doc/refman/8.1/en/create-view.html This feature has been requested several times. There are four active tickets related to this functionality: http://bugs.mysql.com/bug.php?id=5159 http://bugs.mysql.com/bug.php?id=64045 http://bugs.mysql.com/bug.php?id=52429 http://bugs.mysql.com/bug.php?id=15344 …and several marked as duplicates: http://bugs.mysql.com/bug.php?id=19602 , http://bugs.mysql.com/bug.php?id=19602 , http://bugs.mysql.com/bug.php?id=13109 , http://bugs.mysql.com/bug.php?id=14369 , http://bugs.mysql.com/bug.php?id=11082 , http://bugs.mysql.com/bug.php?id=42870 , http://bugs.mysql.com/bug.php?id=38137 … Read more

How to comment/uncomment in HTML code

Yes, to comment structural metadata out, Using <script>/* … */</script> in .html Comment out large sections of HTML (Comment Out Block) my personal way in a .html file is opening: <script>/* and close it with */</script> <script>/* hiding code go here */</script> Is a workaround to the problem since is not HTML. Considering your code … Read more

tech