Visualize Huawei WeLink chat backup .txt files directly inside VS Code.
Have you ever faced a situation in your organization where your account moved from one identity to another, for example from wx to 84, or from 84 to 00? This can happen when someone moves from business outsource to Huawei internal employee.
In these cases, WeLink normally does not let you import the old messages into the new account. You may be left with thousands of scattered .txt files, one file for each chat.
WeLink Chat Visualizer makes those backups easy to read again. Just install the extension from the marketplace, open your chat backup folder in VS Code, and view the conversations in a clean chat-style interface.
To open a chat, right-click any WeLink .txt backup file and select Open WeLink Chat Visualizer.
The extension reads the exported backup format where each message starts with:
Name(id) YYYY-MM-DD HH:mm:ss
message body
It then opens a polished conversation view with message bubbles, search, attachment labels, timeline dividers, folder chat navigation, and a distinct style for your own messages.
Usage
- Install the extension.
- Open a folder that contains WeLink chat backup
.txtfiles. - Click the WeLink icon in the Activity Bar.
- Pick any chat from the
Chatsview to open the visualizer.
You can still open one backup directly by running WeLink: Open WeLink Chat Visualizer from the Command Palette, editor title button, or file context menu. Opening a normal .txt file will stay in VS Code's regular text editor.
Settings
Set your identity in VS Code settings so your messages are highlighted:
{
"welinkChatVisualizer.myName": "Fawad Iqbal(f00928347)"
}
You can also use a display name or employee ID:
{
"welinkChatVisualizer.myName": "Fawad Iqbal"
}
Multiple aliases are supported:
{
"welinkChatVisualizer.myName": "Fawad Iqbal, f84267592"
}
Other settings:
{
"welinkChatVisualizer.accentColor": "#1f8a70",
"welinkChatVisualizer.maxExplorerFiles": 250
}
Commands
WeLink: Open WeLink Chat VisualizerWeLink: Refresh ChatsWeLink: Set My WeLink Name
Folder View
The WeLink Activity Bar view lists workspace .txt files by filename so large backup folders open quickly. Selecting a chat parses only that selected backup and opens the rich conversation view.
Notes
The visualizer is local-only. It parses the active .txt backup inside VS Code and does not upload chat content anywhere.
For suggestions and comments, please contact me.
Developed by: Fawad Iqbal f00928374