IntelliJ File and Template Macro Missing - intellij-idea

I just updated my IntelliJ and have found that when I create a new class or page the auto completion tags are not generated anymore. Meaning that I get a blank page with no tags. I assume it was a Macro that was helping to generate these header and footer tags. Does anyone know if there is another way of re-instantiating this functionality? If the only way to do this is via File and Code Templates, does anyone have the macros for the tags? Thank you!!
Picture 1 is what the class looks like when I create a new class. I then have to manually add in the tags as you can see in picture 2. Before the update intellij was auto populating the class name and the brackets.

After speaking with support, it appears there is a bug in one version down from 2017.2.2 of intelliJ.
After I updated my intelliJ, my templates were being populated again. Here is the link to the download:
https://www.jetbrains.com/idea/download/#section=windows

Related

Locate code author (annotate/blame) in place

Besides having this "annotate" option on the "Differences Viewer" located on the left side of a class, there is a new feature in IntelliJ for locating code author and commit message in place.
For example, if you have your cursor on some code in Java class, a grey text will be displayed beside the java line of code, containing the Author and his commit message for this line. See image below.
screenshot from IntelliJ
My IntelliJ is up-to-date 2019.2, but I never had this feature. Does someone know how to enable it or get it to work on my workplace?
Many thanks.
This functionality is provided by the GitToolBox plugin.

InitializeComponent does not exist

InitializeComponent();
This code line appeared in all my Xaml pages' constructors in code behind.
It throws the following error:
InitializeComponent does not exist.
Now I cannot debug any page in my project although I have commented out this line.
How can I fix this?
Any help would be greatly appreciated.
Note: I'm using Xamarin Forms Portable project.
Update: When I comment out this line and run the pages, only an empty screen shows up in both IOS and Android although my pages were working correctly without error before.
Update 2: now the InitializeComponent lines are disappeared but the pages that I debug are still totally blank.
I have asked a question about this new problem on here.
I had also the same problem in Xamarin Forms Application.I fixed it by changing the Build Action to:
Embedded resource
for .xaml and .cs file both using property window.
Hope it may help you.
Change something in the page, then save it. Scarily this resolves the issue sometime.
If that doesn't work.
Update your nugget packages so Xam Forms is the latest.
"Clean" your project
Go to your project dir and delete the bin and obj from your projects via File Explorer.
Rebuild it.
Good luck.
Be sure that your Xaml page has property Custom Tool set to MSBuild:UpdateDesignTimeXaml
'Its not an issue. You can try to build your solution. Hopefully it will bulid perfectly. Most of the time I also get red under line on InitializeComponent(); like you same. Its a problem of Xamarin studio and Visual studio'
Is it the first XAML page you create in the project? or you created other pages and they don't contain this problem?
you can Check the comments here: http://forums.xamarin.com/discussion/17638/initializecomponent-does-not-exist/p4
Have you renamed your page? All XAML pages have a viewable partial class (the one you enter your logic code in to) and a hidden, system generated partial class.
If you renamed the class but did not use the VS rename macro, your system generated partial class no longer matches your editable partial class.
Try running 'Clean Solution' and 'Rebuild Solution' (both in the 'Build' menu) to see if VS can automatically detect and fix this for you.
If that doesn't work, make sure your pages are set as partial classes e.g. public partial class MyPage : Page
If you still have no luck, manually delete the 'obj' folder in your project's root folder, then rebuild again.
Simple trick:
Just edit your Xaml code..(Put space also enough..But need editing)
After edit the xaml page save project..
Now check error disappears..
In my case this was a result of intermediate build paths being too long for Windows. Moving my solution to just off the drive root C:\dev{solution} in my case solved the problem.
I had this problem because the namespace of my .xaml file did not match the namespace of the .xaml.cs file. Fixing the namespaces so they matched corrected the problem.

Intellij - Revert Template Edit

This is referring to the templates for IntelliJ found at:
Settings -> Editor -> File and Code Templates
I made changes to the Class template and completely broke my ability to create Class files in IntelliJ. How can I revert my changes and put them back to the original values?
Thank you.
Ok this one I solved right after posting. There is a button at the top of the template dialog that reverts the changes back to the original value.
Maybe this will help someone in the future.

Issue on using "scrolling text" module in Joomla

I have downloaded and installed various module for scrolling text horizontally using these websites.
After I created new module and point out the position of that module, I can view that module in my web page. The text didn't appear because I didn't mention it in my module.
In Both of those modules, I couldn't find out that where have to I place the text to be scrolled in that particular modules?
I have searched a lot. But I couldn't get anything.
Any help will be appreciated!
Thank you in advanced!
These extensions display text from articles. So all you have to do is simpley:
Create a category in the Content Manager
Create some articles and assign them to your newly created category
In the Module settings, there will be an option to choose which category you wish to display the articles from, simply select your category
Hope this helps
There is no need of using any other modules for scrolling the text.
I used Custom HTML as menu type and write the code on editor.
The steps I have done as below:
Go to site -> Global configuration -> set Editor-None in default editor
Go to Extension-> module Manager -> New -> select the module type as Custom HTML
Copy the html code for scrolling text and Paste it in the text part and save the module.
Check your site. Now, your site is having the scrolling text. Then, You can change the Editor as before.

IntelliJ IDEA - New Template

I'm trying to create a set of custom file templates for IntelliJ.
I basically want to go right-click, "New > My File Template" similar to the "New > Java Class" bundled with IntelliJ.
I've added my own custom file template via "Settings > File Templates", but they don't appear in my "New" context menu.
This is a Java project, and my templates extension is java. Am I missing something?
All help greatly appreciated.
No My Template >>>
If you select Java Class you can then choose the template for your new class. This is a new feature, it used to be available when selecting New.
Actually you can, sort of.
I don't know know how to do it for Java files. but
if you set the extension to txt you it will show up in the right click menu.
and here it is in the menu:
the only issue is if you're creating a java class you'll have to rename the file after creation to ${name}.java