JetBrains / JetBrains/ForTea

Autocompletion issues with preprocessed templates

Open
#28 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
58
Forks
13
Avg merge
5h 4m
Merged PRs (30d)
7

Description

Here's something I noticed:

- Create any T4 preprocessed template, for instance:

```
<#@ template language="C#" #>
Hello!
```

- Run the "Preprocess Template" action

![image](https://user-images.githubusercontent.com/7913492/79602838-87121300-80eb-11ea-8fc1-3b9028558b60.png)

- Try to use it from C#:

```C#
var test = new Test();
test.TransformText();
```

- The IDE does not suggest `Test` in the autocompletion popup, but does suggest `TestBase`:

![image](https://user-images.githubusercontent.com/7913492/79603103-fdaf1080-80eb-11ea-9989-b41f7acd3c94.png)

- The `TransformText` method is not present in the suggestions either:

![image](https://user-images.githubusercontent.com/7913492/79603033-d9ebca80-80eb-11ea-8f66-65540bdf3340.png)

- Go to definition does not work on the type or the method.

Tested with Rider 2020.1, with the bundled 2020.1.157 version of the plugin.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.